- Create db instance with all tables from schema. Add some inputs in db from schema. (DB_With_User-Role_Tables.sql)
- Check src/main/resources/application.properties and set your local db credentials.
- Use command
mvn package
in root of the project to build jar file. - Use command
java -jar target/amber-0.0.1.jar
to run application. - Go to localhost:8080 to see your project
- Make sure you are collaborator for our heroku app (contact me if you want to contribute [email protected])
- Check application.properties and set credentials of remote db (You can see them on app-dashboard -> resources -> heroku postgres -> settings -> Database credentials)
- Use command
mvn package
in root of the project to build jar file. - Use command
heroku login
to login in your heroku account. - Use command
mvn heroku:deploy
to deploy. - Go to your app.