All steps to deploy our app:
- build react app (npm run build)
- insert into the static app
- add files into the Spring boot app:
"system.properties": java.runtime.version=11 "Procfile": web: java $JAVA_OPTS -jar target/*.jar -Dserver.port=$PORT $JAR_OPTS
4.add heroku plugin and postgreSQL driver
5.open heroku user
-
add new app
-
install postgre and enter "settings"
-
set application properties in the Java app
-
upload to github
10.deploy from git hub to your app