This is the website for our lab. These domains all bring you here:
Commits to master
in this repo will automatically trigger a new website build
and deploy. Easy!
If you want to develop locally, you'll need Python 3 and some packages:
$ pip install -r requirements.txt
$ ./website.py
You can also rebuild only specific pages, see:
$ ./website.py --help
While working, I recommend:
$ ./website.py -P && pushd docs && python3 -m http.server 8000 ; popd
FYI, ImageMagick has some weird permissions issue with PDFs these days. If you get an error try editing the policy.xml file to add "read|write" permissions to PDF filetypes. See https://stackoverflow.com/a/52717932/4422122
Now, run the server. Fortunately, this is really easy:
$ cd docs
$ python3 -m http.server 8000
You now have a web server running at localhost:8000, that is, in a browser type:
http://localhost:8000/