The environmentalenforcementwatch.org website for the Environmental Enforcement Watch project by EDGI
Staging site at staging.environmentalenforcementwatch.org
.md
) in the folder content
> subfolder [name of the page]. If you are not a coder, this will usually be the place to go to make edits!
.md
file.json
file might have some additional content that will show up on that pagesrc/pages
and then the appropriately named .js
file (this is the file that tells the information from the .json
file and the .md
file where and how to show up).css
file. The main one is in src/global.css.js
. But it might also be in the .js
file in src
![alt text for image](./my-image.png)
. The ./
part means that the image is in the same folder as the file you're referencing it from.This site deploys automatically to staging upon merge to main
, and to production upon tagged release.
You can see automatic deployment status in the badge at the top of this readme. To debug, check the Actions tab of this repo.
Staging automatic deployment configuration can be found in .github/workflows/continuous-integration-workflow.yml
.
Upon merge to main, the staging Github Action is triggered which builds the site to the gh-pages branch and ftp deploys it to staging.environmentalenforcementwatch.org
Production automatic deployment configuration can be found in .github/workflows/release-to-production.yml
.
Upon a tagged release (through the “Releases” section of the repo), production Github action is triggered which ftp deploys the gh-pages branch to environmentalenforcementwatch.org
npm install
to install dependencies (Video demo)npm install -g gatsby-cli
npm run start
(defaults to http://localhost:8000/) (Video demo)Copyright (C) 2023 Environmental Data and Governance Initiative (EDGI)
EEW website is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
See the LICENSE
file for details.