feat: Started flexinale-distributed as processes
This commit is contained in:
parent
06aab542bf
commit
45de0aeadb
1 changed files with 6 additions and 3 deletions
|
|
@ -20,9 +20,6 @@
|
|||
languages.java.maven.enable = true;
|
||||
languages.nix.enable = true;
|
||||
|
||||
# https://devenv.sh/processes/
|
||||
# processes.cargo-watch.exec = "cargo-watch";
|
||||
|
||||
scripts =
|
||||
let
|
||||
datasource = "-Dspring.datasource.url=jdbc:postgresql://${config.services.postgres.listen_addresses}:5432";
|
||||
|
|
@ -49,6 +46,7 @@
|
|||
"distributed-init".exec = ''
|
||||
cd ${config.env.DEVENV_ROOT}/flex-training-flexinale
|
||||
mvn test -Dtest=testdata.AllTestDataLoader -pl flexinale-distributed -am
|
||||
mvn test -Dtest=testdata.FKKsVTestDataLoader -pl flexinale-distributed -am
|
||||
'';
|
||||
"distributed-portal".exec = ''
|
||||
java ${datasource}/distributed-besucherportal \
|
||||
|
|
@ -127,6 +125,11 @@
|
|||
]);
|
||||
};
|
||||
|
||||
# https://devenv.sh/processes/
|
||||
processes.distributed-portal.exec = config.scripts.distributed-portal.exec;
|
||||
processes.distributed-backoffice.exec = config.scripts.distributed-backoffice.exec;
|
||||
processes.distributed-ticketing.exec = config.scripts.distributed-ticketing.exec;
|
||||
|
||||
# https://devenv.sh/tests/
|
||||
enterTest = ''
|
||||
echo "Running tests"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue