diff --git a/.vscode/launch.json b/.vscode/launch.json index 2fda61345b..543d1e6179 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -20,6 +20,16 @@ "args": ["${workspaceFolder}/packages/worker/src/index.ts"], "cwd": "${workspaceFolder}/packages/worker" }, + { + "name": "Camunda Worker", + "type": "node", + "request": "launch", + "runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], + "args": [ + "${workspaceFolder}/packages/account-portal/packages/server/src/v2/run.ts" + ], + "cwd": "${workspaceFolder}/packages/account-portal/packages/server" + }, { "type": "chrome", "request": "launch", diff --git a/scripts/deploy-camunda.sh b/scripts/deploy-camunda.sh index 440de65bb2..66c505a6f0 100755 --- a/scripts/deploy-camunda.sh +++ b/scripts/deploy-camunda.sh @@ -17,15 +17,12 @@ echo "waiting for Camunda to be ready..." while is_camunda_ready -eq 0; do sleep 1; done -cd src/main/resources/models - echo "deploy processes..." -zbctl deploy resource offboarding.bpmn --insecure -zbctl deploy resource onboarding.bpmn --insecure -zbctl deploy resource free_trial.bpmn --insecure -zbctl deploy resource verify_sso_login.bpmn --insecure +for file in src/main/resources/models/*; do + zbctl deploy resource $file --insecure +done -cd ../../../../../budibase/packages/pro +cd ../budibase/packages/pro yarn && yarn build cd ../account-portal/packages/server