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 originetc. - Deploy to Heroku
git push heroku - Show in Browser with https://de-htwg-wt-nmm.herokuapp.com or in CLI with
heroku open
- Install
sbtCLI- OSX with homebrew
brew sbt
- OSX with homebrew
- Setup the necessary Heroku environment variables in a new
.envfile in your local repoecho "PLAY_CONF_FILE='application.prod.local.conf'" >> .envheroku config:get PLAY_APP_SECRET -s >> .envheroku 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
.envfile withcat .env - Compile project with SBT
sbt compile stage - Run project localy with Heroku
heroku local web - Open App in Browser
http://localhost:5000