https://github.com/mozilla/donate.mozilla.org
Mozilla donation platform
https://github.com/mozilla/donate.mozilla.org
Last synced: 10 months ago
JSON representation
Mozilla donation platform
- Host: GitHub
- URL: https://github.com/mozilla/donate.mozilla.org
- Owner: mozilla
- License: mpl-2.0
- Archived: true
- Created: 2015-06-09T14:14:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-02-11T08:30:16.000Z (about 6 years ago)
- Last Synced: 2025-04-29T07:29:11.045Z (10 months ago)
- Language: JavaScript
- Homepage: https://donate.mozilla.org
- Size: 12.3 MB
- Stars: 64
- Watchers: 48
- Forks: 46
- Open Issues: 116
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-mozilla - donate.mozilla.org - Mozilla donation platform (Websites)
README
[](https://travis-ci.org/mozilla/donate.mozilla.org)
This project is now archived in favor of https://github.com/mozilla/donate-wagtail
# donate.mozilla.org
---
## Pre-requisites
[node 4+](https://nodejs.org/) with [`Intl` support](https://github.com/joyent/node/wiki/Intl). 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
- [Deployment](docs/Deployment.md)
- [Browser Support](docs/Browser_Support.md)
- [QA Checklist](docs/QA_Checklist.md)
- [Support](docs/Support.md)
- [Metrics & A/B Testing](docs/Metrics.md)
- [Client and Server](docs/Client_Server.md)
- [Query Strings](docs/Query_Strings.md)
- [Localization](docs/Localization.md)
- [Tests](docs/Tests.md)
- [Hashing](docs/Hashing.md)
---
## 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](https://github.com/jbuck/hatchet) to send signup requests to a sawmill event processor queue.
---
#### Thanks
Thanks to [BrowserStack](https://www.browserstack.com/) for providing the infrastructure that allows us to run our build in real browsers.
Mozilla fundraising uses [twemoji](https://github.com/twitter/twemoji) to encourage donations
---