Skip to content

How to Deploy Backend Website

Billy T. Hernandez edited this page Jan 6, 2021 · 4 revisions

How to Deploy

  1. Make sure you are on master and have pulled the most current version.
  2. Test out the extension/website/backend to make sure everything is working as you expect.
  • MAKE SURE ALL THE PASSWORDS ARE IN PLACE
  1. run mvn package
  2. gcloud app deploy <target/Ethicli-X-X.jar> --appyaml="/Path/To/app.yaml" where the Xs represent the current version number found in pom.xml The appyaml flag is necessary to specify the appengine configurations. The jar file omits app.yaml
  3. Create a new github release documenting any changes since the last release, including screenshots where necessary.

To deploy without sending traffic to the new version:

Replace step 4 with gcloud app deploy <target/Ethicli-X-X.jar> --no-promote*

Docs: https://cloud.google.com/sdk/gcloud/reference/app/deploy#--appyaml