A stream of assets from peers across the Mozilla Network
Перейти к файлу
Youri 5b518cddd9
Entry Page Updates (#1130)
* added glyphs

* updated other assets

* initial style updates

* initial detailed card updates

* fixed mobile spacing

* final desktop layout updates

* made btn-tag smaller on moderation entry

* layout updates

* testing bookmark feature

* go away button with no link

* optimized svgs

* moderation updates

* accidentally deleted bookmark icon

* style, a11y tweaks

* type & bug fixes

* pre-code review updates

* header padding fix

* updates

* a11y removal

* more updates

* let's see if this fixes it

* style updates

* Update components/project-card/project-card-detailed.scss

Co-Authored-By: Mavis Ou <mmmavis@users.noreply.github.com>
2019-08-21 15:20:32 -04:00
.github/ISSUE_TEMPLATE Update issue templates (#1062) 2019-05-14 09:32:36 -07:00
assets Entry Page Updates (#1130) 2019-08-21 15:20:32 -04:00
components Entry Page Updates (#1130) 2019-08-21 15:20:32 -04:00
config Join Us Flow (#1097) 2019-07-08 14:39:10 -04:00
js Newsletter signup - POST to Basket directly (#1134) 2019-08-19 13:06:28 -07:00
pages Entry Page Updates (#1130) 2019-08-21 15:20:32 -04:00
scss Entry Page Updates (#1130) 2019-08-21 15:20:32 -04:00
.eslintrc.json (DO NOT MERGED YET) Prettier for ESLint (#1067) 2019-05-15 15:35:43 -07:00
.gitignore Dependency updates (#961) 2018-06-19 11:05:41 -07:00
.stylelintrc fixes merge conflicts 2016-12-21 16:20:23 -08:00
.travis.yml move to node lts (#949) 2018-04-26 10:43:56 -07:00
CODE_OF_CONDUCT.md add code of conduct (#1016) 2019-02-22 11:23:41 -05:00
PULL_REQUEST_TEMPLATE.md Move codeowners to PR template (#896) 2017-12-18 19:33:53 -06:00
Procfile Related to #305 - forgot to update Procfile in the previous commit 2017-01-11 13:45:45 -08:00
README.md Join Us Flow (#1097) 2019-07-08 14:39:10 -04:00
app.json New Search Homepage (#1101) 2019-07-12 15:06:35 -04:00
app.jsx Fixed more linting errors (#1076) 2019-05-28 09:05:05 -07:00
appveyor.yml move to node lts (#949) 2018-04-26 10:43:56 -07:00
contribute.json Bumped up Pulse's Observatory score (#876) 2017-12-06 15:13:20 -08:00
main.jsx Main spacing content fix #2 (#1127) 2019-08-01 10:37:36 -07:00
manifest.json Update manifest (#823) 2017-10-25 08:47:51 -04:00
package-lock.json minor npm package updates (#1133) 2019-08-13 09:46:58 -07:00
package.json minor npm package updates (#1133) 2019-08-13 09:46:58 -07:00
server.js New Search Homepage (#1101) 2019-07-12 15:06:35 -04:00
webpack.config.js (DO NOT MERGED YET) Prettier for ESLint (#1067) 2019-05-15 15:35:43 -07:00
webpack.server.config.js (DO NOT MERGED YET) Prettier for ESLint (#1067) 2019-05-15 15:35:43 -07:00

README.md

Mozilla Pulse

Travis Build Status AppVeyor Build Status

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.

Contribute

Testing

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.

Fix bugs or help with new features

Browse the issues. Look for the labels enhancement, help wanted, good first issue.

Development

Requirements

  • node
  • npm

Setup

$> git clone https://github.com/mozilla/network-pulse.git
$> cd network-pulse
$> npm install

If you would like to override default environment variables... create a .env file on the root directory and set your env vars there. See environment variables section for details.

Key scripts to run

npm start

This starts server in development mode. See environment variables section for PORT number.

npm test

This starts a few test scripts. Don't forget to run this command and fix errors (if any) before you git push your changes.

npm optimize

This starts a few image optimization scripts.

Environment variables

Name Description
PORT Default: process.env.PORT(falls back to 3000 if process.env.PORT cannot be found)

The port number you are running the server on.
PULSE_API_HOST Default: https://pulse-api.mofostaging.net

Host of the Pulse API URL.
PULSE_API Default: https://pulse-api.mofostaging.net/api/pulse

URL to Pulse API. e.g., http://test.example.com:8000/api/pulse.
To set up a local instance of Pulse API, follow instructions on Pulse API README doc.
PULSE_LOGIN_URL Default: https://pulse-api.mofostaging.net/accounts/login/

URL to use to login to Pulse. This needs to be a Pulse API login url.
PULSE_LOGOUT_URL Default: https://pulse-api.mofostaging.net/accounts/logout/

URL to use to logout of Pulse. This needs to be a Pulse API logout url.
PROJECT_BATCH_SIZE 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.
PROFILE_BATCH_SIZE Default: 10

Number of profiles you want to display as a batch.
LEARN_MORE_LINK Default: https://www.mozillapulse.org/entry/120

Link to learn more about what Pulse project is about.
NODE_ENV Default: development

When this is set to production, it enables production specific express settings and middleware
APP_HOST Default: localhost

The domain which this app should serve. It's only used when NODE_ENV is set to production

Deployment

Staging

URL: https://network-pulse-staging.herokuapp.com/

Updates to master branch automatically triggers staging deployment.

Production

URL: https://mozillapulse.org

Deployment is done using the Heroku pipeline. Simply click "Promote To Production".