A basic snakehack starter kit written in java using maven, grizzly and jersey.
-
Clone repo to your development environment:
git clone [email protected]:USERNAME/hslu_18hs_stair_pachack_java.git $GOPATH/github.com/USERNAME/hslu_18hs_stair_pachack_java
cd $GOPATH/github.com/USERNAME/hslu_18hs_stair_pachack_java
-
Import the project into your ide. This repos uses intellij.
-
Try to run it
-
Test the client in your browser: http://127.0.0.1:8080/start
download heroku cli https://devcenter.heroku.com/articles/getting-started-with-java#set-up
login to heroku
heroku login
create new heroku app, --region eu
is important for fast enough response times
heroku create yourfancyname --region eu
push to heroku
git push heroku master
delete heroku git
git remote rm heroku