# docker-pelican
Docker and Fig containers for Pelican static site generation, served by Nginx.

This project creates two Docker containers, one for the Pelican blog static file blog generator and another for the serving of the content using an Nginx contrainer.  Fig is used to orchestrate the building of the images and running of the containers.

To Install:

1. Install [Docker](https://docs.docker.com/), version 1.3 or higher, on a Linux box or VM.
2. Install [Fig](http://www.fig.sh/install.html), version 1.0 or higher.

To start, from the root folder of the project:

1. fig build
2. fig up -d

To stop:

1. fig stop

To add more content add Markdown (.md) or reStructuredText (.rst) files to the pelican/content folder and the blog will automatically be regenerated on change. For more information check the [Pelican documentation](http://docs.getpelican.com/en/latest/index.html). 
# docker-pelican
Docker and Fig containers for Pelican static site generation, served by Nginx.

This project creates two Docker containers, one for the Pelican blog static file blog generator and another for the serving of the content using an Nginx contrainer.  Fig is used to orchestrate the building of the images and running of the containers.

To Install:

1. Install [Docker](https://docs.docker.com/), version 1.3 or higher, on a Linux box or VM.
2. Install [Fig](http://www.fig.sh/install.html), version 1.0 or higher.
3. Clone the repository: git clone https://github.com/turnkey-commerce/docker-pelican.git docker-pelican

To start, from the docker-pelican directory:

1. fig build
2. fig up -d

To view the site:

1. http://localhost

To stop:

1. fig stop

To add more content add or modify Markdown (.md) or reStructuredText (.rst) files in the docker-pelican/pelican/content directory and the blog will automatically be regenerated on change. For more information check the [Pelican documentation](http://docs.getpelican.com/en/latest/index.html). 
Add more instructions on cloning and viewing the site.
Add more instructions on cloning and viewing the site.
