Skip to content
This repository was archived by the owner on Feb 12, 2020. It is now read-only.

Latest commit

 

History

History
17 lines (15 loc) · 818 Bytes

push_plan.md

File metadata and controls

17 lines (15 loc) · 818 Bytes
  1. ng build --aot --prod // build the Angular front-end
  2. Copy the back-end and the dist folder to the Heroku repo.
  3. change ../angular-front-end-2/dist to ./dist in app.js
  4. git push heroku master
  1. ssh [email protected] // the acount is created by U of T system admin
  2. cd code-reviewer-2.0
  3. git pull // update
  4. cd angular-front-end-2
  5. ng build --prod // build front-end
  6. cd ../back-end-API
  7. ps aux | grep username // find the process id of running node process
  8. kill -9 process_id // cancel it
  9. node app.js & // start the app in background