Skip to content

cakephp/bakery.cakephp.org

Repository files navigation

Tinkerer based bakery

Requirements

http://tinkerer.me/

Installation

To install the requirements for tinkerer, use virtualenv and pip:

cd /path/to/bakery
virtualenv env
. env/bin/activate
pip install -r requirements.txt

Usage

Clone this repo and run the following command in the project folder:

tinker --build

Adding an article

  1. Create a directory for the month and day you are publishing on if one does not already exist.
  2. Create the file for your post including metadata at the bottom.
  3. Update master.rst to include your new post.

Deployment

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.