The repo for the Psychoinformatics website
  • HTML 71.4%
  • CSS 22%
  • Python 6.3%
  • Makefile 0.3%
Find a file
Michael Hanke 0bc15f809f
All checks were successful
Deploy on webserver / Build site with pelican and deploy on success (push) Successful in 3m24s
Switch to datalad-clone-action
2025-03-04 13:25:05 +01:00
.forgejo/workflows Switch to datalad-clone-action 2025-03-04 13:25:05 +01:00
artwork Enable player controls 2021-01-22 12:04:53 +01:00
content Change Michał's website URL 2025-02-28 15:34:49 +01:00
pelican-plugins plugins: update; only link to the one we need 2021-06-15 07:52:52 +02:00
theme Mastodon link and CSS setup for Mastodon icon 2022-11-20 12:26:36 +01:00
.gitignore Add .gitignore 2018-07-20 11:05:12 +02:00
.gitmodules plugins: update; only link to the one we need 2021-06-15 07:52:52 +02:00
Makefile Adjust deployment target after change of mind 2025-02-27 13:07:19 +01:00
pelicanconf.py Update institutional URLs and better double-affiliate 2023-07-04 14:00:59 +02:00
publishconf.py Remove Google Analytics support 2017-08-31 10:22:08 +02:00
README.md readme: overhaul; expand build instructions 2021-06-15 10:27:57 +02:00
tasks.py update for pelican 4: drop makefile and update tasks.py 2021-06-15 07:49:08 +02:00

Psychoinformatics.de Website

This repo has all of the sources and assets for the website of the Psychoinformatics Lab at the Research Center in Jülich (https://www.psychoinformatics.de).

Pages are generated using Pelican.

Content is written predominantly in HTML and reStructuredText. Pelican is flexible like that.

Building

To setup the build environment:

  • clone the repo and pull submodules
    git clone https://github.com/psychoinformatics-de/psychoinformatics-www.git
    cd psychoinformatics-www
    git submodule update --init --recursive
    
  • setup and activate a virtualenv
    python3 -m venv ~/.venvs/pelican
    source ~/.venvs/pelican/bin/activate
    
  • install Pelican and dependencies
    pip3 install pelican invoke beautifulsoup4
    
  • run the development server
    pelican --autoreload --listen
    
  • point your browser to http://127.0.0.1:8000.

Your copy of the docs will be served locally at that address, and any changes will automatically trigger a rebuild.

Publishing

GitHub Actions is used to build and test all PRs. When commits make it to the master branch, they are built, the results saved in the gh-pages branch, and then hosted by GitHub Pages.

Notes

Props to Alexandre Vicenzi for making and sharing his Flex theme. Though this site's theme has evolved much since then, his theme served as a very productive starting point.

Licence

When in doubt, the license of all content/artwork is CC-BY-SA-4.0, SIL OFL 1.1 for fonts, and MIT for all code. Please see the content/pages/copyright.rst page for a more granular, Debian-style declaration of files and their licenses.