make build- Render the blog to static HTML in
make propel- Start a prepl server with Propel and write the port to
make depot- Check for outdated dependencies with Depot.
make test- Execute all of the tests.
make serve- Host the
outputdirectory with Python’s
make watch- Rebuild when any source files change, requires entr to be installed and
make propelalready running.
make build-container- Build the docker container and tag it as
make run-container- Run the container locally, hosts on port
make setup-deploy- Configures git to deploy to my host.
make deploy- Deploys the current master to my host.
Feel free to fork this project and adapt it for your own needs! You’ll need to replace my domain in a few places (
oli.me.uk) as well as my name. I’d prefer you to delete my posts and write your own too…
You’ll probably want to edit the nginx configuration to remove the redirects I added for my own legacy blog reasons as well.
Just have a look around the source and grep for some things you spot that are related to myself, feel free to do whatever you’d like with the code.
If you get a lot out of forking this project I’d love to hear about it.
The posts are mine and you should not republish them without asking permission or attribution, the code is fair game.
Find the full unlicense in the
UNLICENSE file, but here’s a snippet.
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.