🚧 Under Construction 🚧
https://giscience.github.io/gis-training-resource-center/content/intro.html
We use markdown documents with rich media hosted elsewhere that serve as comprehensive guides, tutorials and reference materials.
The markdown files are built to a static webpage via jupyter-book.
- clone the repo:
git clone https://github.com/GIScience/gis-training-resource-center - set up a python environment, e.g.
python3 -m venv venv - activate the environment:
source venv/bin/activate - install dependencies:
pip install -r requirements.txt cd gis-training-resource-center!Do not create the venv inside the repository, otherwise build command will try to compile source files from /venv- do your changes to the book in
contents - build it locally
jupyter-book build . - verify changes
cd _build/html/ && python3 -m http.server 8080 - push source files via git to the
devbranch- change the branch
git switch dev git pullgit commit -m "yourmessage"git push- conflict:
git config pull.rebase false - when you are finished with your changes, create a pull request to merge
devwithmain.
- change the branch
- push rendered html files to branch
gh-pagesvia the commandghp-import -n -p -f _build/html. This will automatically delete the branch and recreate it to avoid a bloated history.
We warmly welcome everyone to contribute and collaborate in advancing the IFRC GIS Training Platform, fostering shared knowledge and growth. Before contributing:
- Contact us on
[email protected] - Make sure to read through the Contribution Plan
- to be considered in the future