This repo is dedicated to enuring that the fruits of democratic protests around the world are heard and seen directly. This grew out of the protests for Geroge Floyd in 2020 in the United States, but will try to document previous and new protests from all around the world.
View the site here
This site is built using Gatsby, reading from a json file, and then deployed to S3 with cloudfront in front
-
Adding a New Effect.
When a new demonstrable effect is felt from a protest we want to add it to this site. Instructions for how to do so:
- Navigate to src/content/impact.json
- Scroll to bottom and add a comma after the last } prior to the ]
- Copy this snippet:
{ "title": "Example Title", "description": "Example Description", "location": "Example Location", "date": "DATE", "link": "Link here", "protest": "Associated Protest", "tags": [ "Tag1", "Tag2" ] }
- Paste at the bottom of the impact.json document following the comma you placed earlier and prior to the ]
- Edit your effect with the fields.
- Submit a branch/PR with the commit message:
content: <fill in descriptive commit message here>
- We'll review and when merged the content will be live
-
Start developing.
git clone https://github.com/Protests-Work/protests-work.git cd protests-work gatsby develop
-
Open the source code and start editing!
The site should now be live at
http://localhost:8000
!
- Merge to master and this site will deploy to S3 via Github Actions. No other deployment methods are supported