OpenCollective (new) Website
Run in dev
Build for production
npm run start:prod
npm run deploy:staging or
npm run deploy:production.
CircleCI will run the tests on this branch and push to Heroku if successful (to staging only)
For quick pushing of hotfixes, you can do
npm run deploy:hotfix. It'll take
master and push to remote
production, then push to
staging to keep everything in sync.
If you want to deploy the app on Heroku manually (only for production), you need to add the remotes:
git remote add heroku-production https://git.heroku.com/opencollective-prod-site.git
Then you can run:
git push heroku-production master