This repository contains the content and settings for the 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.
├── README.md : Description of this repository
│
├── content : Website content. Each news item/page is a directory, containing at least an index.md
│ ├── articles : News items, organized by year
│ └── pages
│ ├── home : Homepage
│ ├── standards : Standards pages
│ ├── journal : BISS page
│ ├── community : Interest, Task and Maintenance Groups pages
│ ├── conferences : Conference landing pages
│ └── about : Executive, constitution, contact, etc. pages
│
├── settings.py, settings-prod.py : Generic website settings
├── requirements.txt : Python requirements for Pelican
│
├── LICENSE : Repository license
├── .github : Contributing guide, issue templates
└── .gitignore : Files and directories to be ignored by git
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:
- Clone the website repo:
git clone https://github.com/tdwg/website
- Clone the theme repo:
git clone https://github.com/tdwg/tdwg-theme
- Optional: create a virtual environment (e.g.
conda create -n tdwg python=3.7
) and activate it (e.g.source activate tdwg
) - Verify Python 3.3+ is installed:
python --version
- Navigate to the website repo and install the requirements (including Pelican):
pip install -r requirements.txt
- Optional: activate your virtual environment (e.g.
source activate tdwg
) - 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 the Creative Commons Attribution 4.0 International License.