To install the requirements for tinkerer, use virtualenv and pip:
cd /path/to/bakery
virtualenv env
. env/bin/activate
pip install -r requirements.txt
Clone this repo and run the following command in the project folder:
tinker --build
- Create a directory for the month and day you are publishing on if one does not already exist.
- Create the file for your post including metadata at the bottom.
- Update
master.rst
to include your new post.
The bakery uses a combination of python and nginx buildpacks.
We use the bin/post-compile
hook from the python buildpack to generate the HTML site, and point nginx at the generated content with the NGINX_ROOT=blog/html
application option in dokku.