Create Spring App and Deploy in 8 Steps
To create a brand new spring boot app and deploy to a web server in 8 steps you can use the following:
Prerequisites
- Install Heroku CLI
- Install Spring CLI
Commands
heroku login
spring init --dependencies=web demo
cd demo
git init
git add .
git commit -m "new spring app"
heroku create
git push heroku master