-
Notifications
You must be signed in to change notification settings - Fork 28
Deployments
This site explains how to do deployments of the appliacation:
We use github actions that are configured with scripts stored in the repo in /.github/wofkflows to deploy the current state of the application to test- and development-environments automatically on git pushes.
The application is deployed automatically to the development-environment on each push to the develop-git branch.
The application is deployed automatically to the test-environment on each commit to the stage-on-test git-branch.
If you need the current state of the develop-branch on the test system, use the following git-commands:
- make sure your local devlop branch is up to date
git checkout stage-on-test
git reset --hard develop
git push --force-with-lease
Quarano development setup is hosted in a cloud-foundry environment. Iy you need to deploy the application manually, please request access to cloud foundry from the organisators of this repo and install the CF-CLI.
Frontend and backend need to be deployed separately:
- go to the /backend directory of the repo
mvn clean package
-
cf login -a https://api.otc.quarano.xyz
(maybe not needed, if you are already logged in) - Choose target department in space selection (e.g. mannheim)
CF push quarano-mannheim-backend -f ../manifest-otc.yml
- go to the /frontend directory of the repo
npm install
npm run build-mannheim-prod-otc
npm run prepare-deployment-otc
-
cf login -a https://api.otc.quarano.xyz
(maybe not needed, if you are already logged in) - Choose target department in space selection (e.g. mannheim)
CF push quarano-mannheim-frontend -f ../manifest-otc.yml