Skip to content

edgi-govdata-archiving/100days

Repository files navigation

Code of Conduct

100 Days

Website for the EDGI 100 days report, built with Jekyll.

License & Copyright

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

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

Development

1. Install Dependencies

Install the Jekyll gem:

$ gem install jekyll

Windows users: Run Jekyll on Windows

2. Run Locally

$ bundle exec jekyll serve

Deployment

Commits and merges into main will be deployed to the production server, current process is:

  1. Remove existing _site and archived versions 100days.tar.gz in folder (both of these should not be under version control)
    $ rm -rf _site/ 100days.tar.gz
  2. Build and archive site locally:
    $ bundle exec jekyll build
    $ cd _site && tar -czf ../100days.tar.gz * && cd ..
  3. Upload tar archive to webroot via cPanel: Files > File Manager > /100days.envirodatagov.org
  4. Extract archive within interface. (This will overwrite existing files.)