https://github.com/whyboris/health-impact-fund
Health Impact Fund website
https://github.com/whyboris/health-impact-fund
Last synced: 4 months ago
JSON representation
Health Impact Fund website
- Host: GitHub
- URL: https://github.com/whyboris/health-impact-fund
- Owner: whyboris
- License: mit
- Created: 2019-09-14T00:07:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T20:03:03.000Z (about 2 years ago)
- Last Synced: 2025-06-07T12:02:02.072Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://healthimpactfund.org
- Size: 17.5 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Health Impact Fund
[Health Impact Fund](https://healthimpactfund.org) - delink the price of drugs from the cost of research.
## About
This repository contains the files for the public website.
## Development
The webstie is built with _Gatsby_ and the _gatsby-starter-default-intl_ starter.
## Caveats
### Translation files
Seems like the `en.json` (and other languages in the `/intl` folder) _must_ be a valid JSON with no errors (no trailing commas for example). If there is an error, none of the text will be rendered; you will instead see the text reference id.
For simplicity, I recommend sorting the JSON alphabetically with [Sort JSON objects](https://marketplace.visualstudio.com/items?itemName=richie5um2.vscode-sort-json) for _VSCode_.
### Newsletter
You will need to create a `.env` file with
```env
MAILCHIMP_ENDPOINT="https://healthimpactfund.us11.list-manage.com/subscribe/post?u=..."
```
(but instead of the `...` get the [private endpoint from Mailchimp](https://www.gatsbyjs.com/plugins/gatsby-plugin-mailchimp/#mailchimp-endpoint)).
### If you've not coded but want to start
0. Starting may be daunting, but you can do it! Follow the instructions for [Gatsby](https://www.gatsbyjs.org/tutorial/part-zero/):
- install **git**
- install **node** (comes with **npm**)
- install a _terminal_ if you don't have one (on Mac try [Hyper](https://hyper.is), on Windows try [FluentTerminal](https://github.com/felixse/FluentTerminal) or [Terminus](https://github.com/Eugeny/terminus))
- install **gatsby** (`npm install -g gatsby-cli`)
1. When done, _clone_ this repository, enter it (`cd Health-Impact-Fund`) and install (`npm install`).
2. Install [VSCode](https://code.visualstudio.com) and open the folder to see the code.
3. Start (`npm start`) 🎉
Feel free to reach out with questions by going to [Issues](https://github.com/whyboris/Health-Impact-Fund/issues)