http://prezi.com/ogvpmmhs2juu/?utm_campaign=share&utm_medium=copy
https://github.com/fstiehle/de.htwg.wt.nmm/blob/master/ui/angular2/README.md
https://github.com/fstiehle/de.htwg.wt.nmm/tree/master/ui/polymer
https://de-htwg-wt-nmm.herokuapp.com
- Install
Heroku CLI
- Download https://devcenter.heroku.com/articles/heroku-cli
- Verifiy
heroku --version
- LogIn in existing Accoung
heroku login
- Go with your CLI to your cloned repo e.g.
my/repos/de.htwg.wt.nmm
- Add the Heroku remote
heroku git:remote -a de-htwg-wt-nmm
- Work normal with your git(Hub) repo
git add
,git commit
,git push origin
etc. - Deploy to Heroku
git push heroku
- Show in Browser with https://de-htwg-wt-nmm.herokuapp.com or in CLI with
heroku open
- Install
sbt
CLI- OSX with homebrew
brew sbt
- OSX with homebrew
- Setup the necessary Heroku environment variables in a new
.env
file in your local repoecho "PLAY_CONF_FILE='application.prod.local.conf'" >> .env
heroku config:get PLAY_APP_SECRET -s >> .env
heroku config:get BUILDPACK_URL -s >> .env
- (optional)
heroku config:get GOOGLE_CLIENT_SECRET -s >> .env
- (optional)
heroku config:get GOOGLE_CLIENT_ID -s >> .env
- Verify
.env
file withcat .env
- Compile project with SBT
sbt compile stage
- Run project localy with Heroku
heroku local web
- Open App in Browser
http://localhost:5000