Sweet Tooth Boutique is an online store that sells a selected assortment of confectionery.
- Run
ng build --prod
- Comment away the rows marked for removal for UBER-JAR
- Remove mysql dependency (add block comment)
- Add com.h2database dependency (remove block comment)
- Update project dependencies
- Run
mvn package
and UBER-JAR is created to backend/target
From Heroku instructions for deploying executable jars.
Install plugin and create app to Heroku.
heroku plugins:install heroku-cli-deploy
heroku create sweet-tooth-boutique --no-remote
Deploy jar file, see that it's running, and open website.
heroku deploy:jar app.jar
heroku logs
heroku open