An open API service indexing awesome lists of open source software.

https://github.com/cakephp/bakery.cakephp.org

The Official CakePHP blog
https://github.com/cakephp/bakery.cakephp.org

Last synced: 7 months ago
JSON representation

The Official CakePHP blog

Awesome Lists containing this project

README

          

# Tinkerer based bakery

## Requirements

http://tinkerer.me/

## Installation

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

```bash
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:

```bash
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.