{"id":2158,"date":"2017-11-11T17:29:44","date_gmt":"2017-11-11T16:29:44","guid":{"rendered":"https:\/\/bob-team.de\/wordpress\/?p=2158"},"modified":"2017-11-11T17:29:44","modified_gmt":"2017-11-11T16:29:44","slug":"spring-boot-heroku","status":"publish","type":"post","link":"https:\/\/bob-team.de\/wordpress\/2017\/11\/11\/spring-boot-heroku\/","title":{"rendered":"Spring Boot + Heroku"},"content":{"rendered":"<p>&ndash; Download <a href=\"https:\/\/devcenter.heroku.com\">heroku-cli-win64.exe<\/a><br \/>\n&ndash; Installation without GIT (it was installed in version 2.9)<br \/>\n&ndash; First command &#8222;heroku login&#8220; in starts 12MB update<\/p>\n<pre lang=\"dos\">C:\\Temp>heroku --version\r\nheroku-cli\/5.12.0-211263f (windows-amd64) go1.7.5<\/pre>\n<p>&ndash; heroku create<br \/>\n&ndash; project <a href=\"https:\/\/github.com\/bobmin\/spring-boot\/tree\/master\/demo-spring-heroku\">demo-spring-heroku<\/a> changed to JDK umgestellt (for &#8222;mvn install&#8220; to work)<br \/>\n&ndash; Eclipse\/Run as: maven clean<br \/>\n&ndash; Eclipse\/Run as: maven install<\/p>\n<pre lang=\"dos\">mkdir app\r\ncd app\r\ngit init\r\nxcopy \/s \/y c:\\Spring\\git\\spring-boot\\demo-spring-heroku .<\/pre>\n<p>&ndash; heroku local web<br \/>\n&ndash; Ctrl+C<br \/>\n&ndash; git add .<br \/>\n&ndash; git commit -m &#8222;First upload&#8220;<br \/>\n&ndash; git push heroku master<br \/>\n&ndash; heroku ps:scale web=1<br \/>\n&ndash; heroku logs &#8211;tail<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&ndash; Download heroku-cli-win64.exe &ndash; Installation without GIT (it was installed in version 2.9) &ndash; First command &#8222;heroku login&#8220; in starts 12MB update C:\\Temp>heroku &#8211;version heroku-cli\/5.12.0-211263f (windows-amd64) go1.7.5 &ndash; heroku create &ndash; project demo-spring-heroku changed to JDK umgestellt (for &#8222;mvn install&#8220; to work) &ndash; Eclipse\/Run as: maven clean &ndash; Eclipse\/Run as: maven install mkdir app cd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2158","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"_links":{"self":[{"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/posts\/2158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/comments?post=2158"}],"version-history":[{"count":1,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/posts\/2158\/revisions"}],"predecessor-version":[{"id":2159,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/posts\/2158\/revisions\/2159"}],"wp:attachment":[{"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/media?parent=2158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/categories?post=2158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bob-team.de\/wordpress\/wp-json\/wp\/v2\/tags?post=2158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}