/ikn.org.uk

My website.

Primary LanguagePython

Source code for http://ikn.org.uk.

License

Distributed under the terms of the BSD 3-Clause license.

Build

Adjust paths in config files in the data directory, then run make. This builds a static site in the dist directory, and a Docker image called ikn.

make push pushes the Docker image to Docker Hub.

make deploy deploys the pushed Docker image to the web server.

make deploy-local deploys the built Docker image on this machine.

Dependencies

Web server setup

  • install Docker and Docker Compose
  • install rsync
  • enable and start cronie
  • cron job: 0 4 * * * ~/docker/reload-apache.sh
  • create remote user and add to the docker group
  • configure SSH locally for passwordless access with hostname ikn