This project is now archived in favor of https://github.com/mozilla/donate-wagtail
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
With the default settings, this will run the service on http://localhost:3000
You can configure the following environment variables:
Variable | About |
---|---|
SUPPORTED_LOCALES | If set to '*' all locales under intl-config.js file for src will be enabled otherwise it expects an array of locales. |
AUTO_CLOSE_DISPUTES | When set to 'true' the stripe-dispute handler will close any dispute received while processing a charge.dispute.created webhook event. |
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. Mozilla fundraising uses twemoji to encourage donations