KDercksen / website-content

This repository stores all the content for the diag websites.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DIAG Website content

This repository stores all the content and source code for the DIAG websites. From this repository multiple Pelican-powered websites are built, based on a central content database.

Build and Deploy

Websites

Live websites:

Updating the content

Please see the documentation for guides on updating the sites.

Building the website locally

Install requirements

  1. pip install -r requirements.txt

To build a website:

  1. Run: WEBSITE=website-pathology ./copy_content.sh to copy files for any website (pathology in this example).
  2. cd into a website folder (e.g., website-pathology or any other website): cd website-pathology
  3. Run pelican: pelican --autoreload
  4. Start the development server: pelican --listen

(On Non-windows you can combine step 2 and 3 with pelican --autoreload --listen)

To build the css:

  1. Install npm==7.12.0
  2. Run css build in radboudumc-theme: npm run deploy-watch

Design resources

If you design an image/poster or similar for the website, please store the design files (if not too big) in the directoy content/src/ in the apropriate subtree. This allows others to update media more easily should they ever become outdated.

About

This repository stores all the content for the diag websites.

License:MIT License


Languages

Language:TeX 98.4%Language:HTML 0.6%Language:Python 0.6%Language:Jupyter Notebook 0.3%Language:SCSS 0.1%Language:JavaScript 0.0%Language:Shell 0.0%