Spring Boot + Heroku

  • Beitrags-Autor:
  • Beitrags-Kategorie:Sonstiges

– Download heroku-cli-win64.exe
– Installation without GIT (it was installed in version 2.9)
– First command „heroku login“ in starts 12MB update

C:\Temp>heroku --version
heroku-cli/5.12.0-211263f (windows-amd64) go1.7.5

– heroku create
– project demo-spring-heroku changed to JDK umgestellt (for „mvn install“ to work)
– Eclipse/Run as: maven clean
– Eclipse/Run as: maven install

mkdir app
cd app
git init
xcopy /s /y c:\Spring\git\spring-boot\demo-spring-heroku .

– heroku local web
– Ctrl+C
– git add .
– git commit -m „First upload“
– git push heroku master
– heroku ps:scale web=1
– heroku logs –tail