| src | ||
| Caddyfile | ||
| fonts_info.json | ||
| LICENSE | ||
| LICENSE_CODE | ||
| prod.py | ||
| README.md | ||
| requirements.txt | ||
this is the git repo for my personal website :3 ( hosted at qhri.net )
thankies to Aylam for helping me improve my website <3
the content of the website (and this git repo) is licensed under cc-by-nc-sa-4.0, with the following exceptions:
- atkinson hyperlegible, under the atkinson hyperlegible font license
- comic mono, under the mit license (original is only provided in ttf, ive converted the files to woff2)
- prod.py, under agpl-3.0-only
production environment setup
these instructions are for running prod.py to generate the folder to be used for hosting in production . src and prod should look identical in the browser and something is wrong if they don't
make a virtual environment (try python3, python3.13, python3.12, etc. instead of python if that doesnt work)
python -m venv venv
enter the venv and install dependencies (use activate.fish, activate.csh, or Activate.ps1 if not using bash)
. venv/bin/activate
pip install -r requirements.txt
to generate prod/, enter the venv and run:
python prod.py
important note
the selenium package is used to run a headless firefox session, but some systems may be missing dependencies that are required for this to work.
if running prod.py gives the error selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 255, you are most likely missing necessary dependencies
the easiest way to install these dependencies is to install firefox via your distro's package manager (some distros, namely debian, may only have firefox-esr available by default. this also works)