https://github.com/noahschutte/CGTrail-Server
- node
- npm
npm install
npm run start
- Open in browser:
localhost:3000
git pull origin master:master
heroku login
- Enter heroku username and password.
git remote -v
origin https://github.com/noahschutte/CGTrail-Client.git (fetch)
origin https://github.com/noahschutte/CGTrail-Client.git (push)
git remote add staging-heroku https://git.heroku.com/staging-cgtrail-client.git
git remote add prod-heroku https://git.heroku.com/cgtrail-client.git
git remote -v
origin https://github.com/noahschutte/CGTrail-Client.git (fetch)
origin https://github.com/noahschutte/CGTrail-Client.git (push)
prod-heroku https://git.heroku.com/cgtrail-client.git (fetch)
prod-heroku https://git.heroku.com/cgtrail-client.git (push)
staging-heroku https://git.heroku.com/staging-cgtrail-client.git (fetch)
staging-heroku https://git.heroku.com/staging-cgtrail-client.git (push)
npm run open-staging
npm run open-prod
git push staging-heroku {{yourFeatureBranchName}}:master
npm run deploy-staging
npm run deploy-prod