This is the source code for my personal website: 153957 Photography
This showcases my photography and time-lapse.
Create a new virtual environment with Python 3.13:
conda create -n website python=3.13 --yes
or
python3.13 -m venv <venv>
source <venv>/bin/activate
And install the requirements:
make install
Activate the virtual env and run:
make build
The built website should then be in the .build
directory.
Use the following command to locally test the site (http://localhost:8000), with automatic rebuilds when making changes:
make serve
To use Docker to build and develop use these commands, to serve the development server:
docker compose up -d
And to build the site:
docker compose -f docker-compose.build.yml up