git clone https://github.com/dork1/safariapp.git cd projectName
https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow Never commit to the master directly. Always do your work on a different branch from master.
- git pull origin master
- git checkout -b MyNewBranch
- git add .
- git commit -m "description of your commit"
- git push origin MyNewBranch (push including your branch) or git push -u origin new-feature (sets upstream to current new-feature branch)
- Start new terminal and run: npm run dev
- open another new terminal and run: npm run ui // If you get connect EADDRINUSE 127.0.0.1:3000 error, restart your browser and relaunch both terminals and commands. Dev script must run first.
ENV vars: heroku-config.py - thanks to https://github.com/sdkcodes/heroku-config
- use heroku-config.py to push local env changes to heroku remote via cli
- befrore running set NODE_ENV=STAGING or =PRODUCTION
- change xxxxx refs to staging/production heroku hostnames