Skip to content

This repository stores all the content for the diag websites.

License

Notifications You must be signed in to change notification settings

joeranbosma/website-content

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 98.4%
  • HTML 0.6%
  • Python 0.6%
  • Jupyter Notebook 0.3%
  • SCSS 0.1%
  • JavaScript 0.0%