Pulse is a platform that helps the Mozilla Network capture and broadcast its projects and activities. mozillapulse.org
Around the globe, teachers, engineers, activists, and others collaborate to protect and extend the internet as a public resource. They create amazing apps, art, tools, games, and campaigns. Their impact is tremendous, but decentralized and difficult to track, even within the network.
Pulse reveals the network's footprint, it fosters collaboration and amplifies the big wins.
Interested in contributing to this project? A good place to start is by helping with Quality Tests. File a new issue to say hello and let us know that you're interested.
Browse the issues. Look for the labels enhancement, help wanted, good first issue.
- Staging: https://network-pulse-staging.herokuapp.com
- Work is happening in the
masterbranch.
nodenpm
git clone -b master https://github.com/mozilla/network-pulse.gitcd network-pulsecp sample.env .env(and modify values in sample.env so they match what you use for your local development env, see environment variables section)npm installnpm start
The host you are using. e.g., HOST=http://localhost
The port number you are using. e.g., PORT=3000
Link to learn more about what Pulse project is about. e.g., LEARN_MORE_LINK=https://www.mozillapulse.org/entry/120
Default: https://network-pulse-api-staging.herokuapp.com/
URL to your local Pulse API instance (if you have one set up). e.g., PULSE_API=http://test.example.com:8000/api/pulse
To set up a local instance of Pulse API, follow instructions on https://github.com/mozilla/network-pulse-api/blob/master/README.md.
Derived variable based on HOST and PORT - overriding this yourself will do nothing.
Default: 24
Number of projects you want to display as a batch. Make sure this number is divisible by 2 AND 3 so rows display evenly for different screen sizes.
URL: https://network-pulse-staging.herokuapp.com/
Updates to master branch automatically triggers staging deployment.
URL: https://mzl.la/pulse
Deployment is done manually.
Concretely, we need to do a deployment rather than a "promotion" because there is a client-side bundle that gets built during deploy, and relies on environment variables at build time. As the staging environment and production environment differ in environment variables, we can't build on staging and then promote to production, as that would simply make our staging client "live".
To manually deploy production site:
- Go to Heroku dashboard.
- Find
network-pulse-productionapp. - In the "Deploy" tab, scroll down to the "Manual deploy" section.
- Deploy
masterbranch. (see screencap below)
