Hello, World! This is my github site. Feel free to look around. It is developed using Pelican, a static site generator written in Python.
I use Poetry to manage dependencies. To set up the development environment, run:
poetry install --with devYou can build, serve and publish the site using the provided Makefile targets.
- **Build (generate HTML):**re
make html- Serve locally (single run):
make serve PORT=8000- Serve and regenerate on changes (development):
make devserver PORT=8000- Create a production build (uses
publishconf.py):
make publish- Clean generated files:
make clean- Run via Docker (uses
docker-compose.dev.yml):
make docker.html # generate with docker
make docker.serve # serve with docker (service ports)
make docker.publish # publish using dockerNotes:
- Generated site files are placed in the
output/directory. - Environment variables supported by the
Makefile:DEBUG=1— enable Pelican debug outputRELATIVE=1— enable relative URLsPORT— port used byserveanddevserverSERVER— host binding forserve-global