Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 959 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 959 Bytes

Elviras Naehspass in React

um mit Heroku zu arbeiten muss dieses im Repo eingerichtet sein, falls es neu gecloned wird.
Die command line installieren: https://devcenter.heroku.com/articles/heroku-cli
dann per heroku checken ob sie funktioniert. Wenn ja, heroku login aufrufen, einloggen.
Die beiden Remotes hinzufügen:
heroku git:remote -a frozen-wave-86999 -r staging
heroku git:remote -a elvirasnaehspass
Das fügt master und staging hinzu

push to the live environment (only from master branch)
git push heroku master
link: http://www.elviras-naehspass.com/

push from a feature branch to the testing environment
git push staging nameofbranch:master
link: https://frozen-wave-86999.herokuapp.com/

get the information which db are connected: heroku pg:info --remote staging or heroku
connect to the heroku psql database: heroku pg:psql --remote staging or heroku
see all the tables: \dt
quit: \q