Skip to content
This repository was archived by the owner on Feb 11, 2020. It is now read-only.

mozilla/donate.mozilla.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1bdf713 · Feb 11, 2020
Sep 19, 2019
Jun 4, 2018
Apr 25, 2019
Nov 21, 2019
Dec 20, 2017
Oct 31, 2017
Sep 27, 2019
Nov 21, 2019
Feb 13, 2018
Nov 12, 2015
Aug 22, 2016
Nov 20, 2017
Aug 2, 2018
Mar 6, 2018
Sep 27, 2019
Oct 6, 2018
Apr 12, 2019
Jun 9, 2015
Dec 20, 2017
Feb 11, 2020
Apr 24, 2018
Sep 6, 2017
Apr 29, 2019
Oct 11, 2018
Feb 13, 2018
Apr 24, 2018

Repository files navigation

Build Status

This project is now archived in favor of https://github.com/mozilla/donate-wagtail

donate.mozilla.org


Pre-requisites

node 4+ with Intl support. To test if you have Intl support run this command:

$ node -e "console.log(typeof Intl === 'object')"


Setup

$> npm install
$> cp sample.env .env

Execution

$> npm start

With the default settings, this will run the service on http://localhost:3000


Documentation


Environment Variables

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.

Hatchet

Optionally configure Hatchet environment variables as documented here to send signup requests to a sawmill event processor queue.


Thanks

Thanks to BrowserStack for providing the infrastructure that allows us to run our build in real browsers. Mozilla fundraising uses twemoji to encourage donations