This is the interface for petitions.moveon.org, a React app. Some parts of the site are already running this code, while others are using a legacy system. Our goal is to eventually drive the interface for the entire site with this app, and retire the legacy system.
See CONTRIBUTING.md.
- Install NPM. Recommended versions: NPM v3.10.10, Node v6.9.3 LTS.
- $
npm install
- $
npm run build
(donpm run dev-build
to get source maps, though this increases filesize significantly)
- $
npm run lint
- $
npm test
The most simple local development is just npm run dev
and then go to a page on http://localhost:8080/, e.g. http://localhost:8080/#/sign/outkast. For more complex options, see How to Develop with a Server Backend and Environment Variables Reference.