Mozilla donation forms
- Staging: https://donate.mofostaging.net/
- Production: https://donate.mozilla.org/
node 4+ with Intl
support. To test if you have Intl
support run this command:
$ node -e "console.log(typeof Intl === 'object')"
$> npm install
$> cp sample.env .env
$> npm start
- Deployment
- Browser Support
- QA Checklist
- Support
- Metrics & A/B Testing
- Client and Server
- Donation Components
- Query Strings
- Localization
- Tests
- Hashing
You can configure the following environment variables:
Variable | About |
---|---|
OPTIMIZELY_ID | Optimizely Project ID (not a secret) e.g. '206878104' |
OPTIMIZELY_ACTIVE | If set to 'yes' (String) the project will include Optimizely snippet in the page load |
SUPPORTED_LOCALES | If set to '*' all locales under intl-config.js file for src will be enabled otherwise it expects array of locales. |
Optionally configure Hatchet environment variables as documented here to send signup requests to a sawmill event processor queue.
Thanks to BrowserStack for providing the infrastructure that allows us to run our build in real browsers.