Skip to main content

Deployment

The deployment is very simple, all it takes is to execute one of the following commands:

  • Prod on Linux/MacOS - mvn clean package appengine:deploy -P cloud-gcp

  • Prod on Windows - ./mvnw clean package appengine:deploy -P cloud-gcp

  • QA on Linux/MacOS - mvn clean package appengine:deploy "-Dapp.stage.appEngineDirectory=src/main/appengine-qa" -P cloud-gcp

  • QA on Windows - ./mvnw clean package appengine:deploy "-Dapp.stage.appEngineDirectory=src/main/appengine-qa" -P cloud-gcp

This command builds the code, runs the tests and deals with the deployment.

caution

Make sure that the current Google Cloud project is set to bassboost before deploying since it is possible to overwrite another project's backend service. Read more in the Deployment doc.

note

Do not forget to delete the old version if the new is successful, so it does not cost any additional money.