Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

How To Deploy

Steve Teplica edited this page Apr 24, 2019 · 4 revisions

Moltimate is deployed Google Cloud Platform's (GCP) App Engine using a special maven plugin.

  1. Make sure you have gcloud installed and configured first

  2. Check out the version of Moltimate you want to deploy

  3. To deploy, run:

     mvn clean compile appengine:deploy -Pprod
    

This will build and deploy your checked out code using the maven prod profile, which pulls in production-specific dependencies and builds a WAR that runs with the respective Spring Boot prod profile.

The biggest difference between the dev and prod profiles is that dev uses a fast testing database, H2, and prod connects to our production MySQL database hosted on GCP Cloud SQL.