All Projects → opencollective → Opencollective Website

opencollective / Opencollective Website

Licence: mit
OpenCollective frontend

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

This repository is deprecated

Please refer to the opencollective/frontend repository, which is the replacement of our UI.

OpenCollective Website

Circle CI Slack Status Gitter chat Dependency Status

Note: Currently, this is only serving the /:slug and /:slug/widget pages. The static pages /, /faq, /about are served from the website-static server. Eventually we move over those static pages to this repo.

Setup

npm install

Run in dev

npm install foreman -g
npm run dev

Build for production

npm run build

Deployment

Use the 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.

Manually

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-website.git

Then you can run:

git push heroku-production master

Test

See Wiki.

Stack

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].