cakephp / bakery.cakephp.org

The Official CakePHP blog

Home Page:http://bakery.cakephp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

The Official CakePHP blog

http://bakery.cakephp.org


Languages

Language:CSS 47.5%Language:JavaScript 32.4%Language:HTML 16.2%Language:Python 3.3%Language:Dockerfile 0.5%Language:Shell 0.1%