edgi-govdata-archiving / EEW-Website

EEW Static Website
https://environmentalenforcementwatch.org/
1 stars 3 forks source link

Code of Conduct Workflow Status

EEW Website

The environmentalenforcementwatch.org website for the Environmental Enforcement Watch project by EDGI

Staging site at staging.environmentalenforcementwatch.org

For site maintainers

Where to edit content

Adding images to .md page content

For developers

Toolset

Deployment

Continuous deployment

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

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

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

Local development

  1. (If you're just learning, it would be a good idea to get familiar with the command line. Here's a 1-page tutorial, and here's a video demo)
  2. Make sure you have Node installed (Video demo)
  3. Create a local clone of this repo (Video demo)
  4. In a local clone of this repo, run npm install to install dependencies (Video demo)
  5. You will need the Gatsby CLI tool: npm install -g gatsby-cli
  6. Run locally with npm run start (defaults to http://localhost:8000/) (Video demo)

Gatsby quickstart docs

License & Copyright

Copyright (C) 2023 Environmental Data and Governance Initiative (EDGI)

Creative Commons Licence
EEW website is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

See the LICENSE file for details.