This repository contains the content and settings for the new TDWG website. It is generated as a static website with Pelican.
- Report: Found a bug? Have a question? See our contributing guide.
- Write: Want to update a page or fix a typo? See our contributing guide.
- Deploy: Want to render and deploy the site? See our deployment guide.
tdwg.org is rebuilt automatically for any change on the master
branch in this repository or the tdwg-theme repository. You can see the status of the builds at https://builds.gbif.org/job/tdwg-website/. If you want to build the website locally, do the following:
- Verify Python 3.3+ is installed:
python -V
- Install Pelican (the static site generator):
pip install pelican
- Install the Python implementation of Markdown:
pip install markdown
- Install Beautifulsoup4 (for site search):
pip install beautifulsoup4
- Clone the theme repo:
git clone https://github.com/tdwg/tdwg-theme
- Clone the website repo:
git clone https://github.com/tdwg/website
- Navigate to the website directory:
cd website
- Build the site locally:
pelican -s settings.py
- The website is generated in
output/
which you can serve with e.g.python -m http.server 8000
This work is licensed under a Creative Commons Attribution 4.0 International License.