Build and manage your own Gold mining company.
- run from inside project's root:
gradlew clean build
- Start by running
GoldenEmpireApplication.java
- Run locally:
heroku local web -f Procfile.test
- Upload to Heroku
- Push changes to master from inside root:
git push heroku master
- Open web-app with
heroku open
- Push changes to master from inside root:
heroku run bash
to see the files as they are on Heroku
- Install the Heroku CLI, validate with
heroku --version
- Set the default task to build instead of stage:
heroku config:set GRADLE_TASK="clean build -x test"
(excluding the tests, heroku is no pipeline) - Create the
Procfile
file heroku login
heroku create --region eu
(to create an app (and postgres db))git push heroku master
(push changes to heroku)- Locally, run a postgresql database configured with the
application-dev.properties
properties - On Heroku, define 2 buildpacks (1: nodejs, 2: gradle)
References:
- reference 1:
https://devcenter.heroku.com/articles/deploying-gradle-apps-on-heroku
- reference 2:
https://devcenter.heroku.com/articles/deploying-spring-boot-apps-to-heroku
- start with
npm start
fromgoldenempire-ui
folder - read the README.md from the
goldenempire-ui
module for more options
- Globally install Angular CLI:
npm install -g @angular/cli
- Generate a new Angular project with CLI
ng new app-root