Skip to content

Docker containers for Pelican static site generation, served by Nginx.

License

Notifications You must be signed in to change notification settings

turnkey-commerce/docker-pelican

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-pelican

Docker 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. Docker Compose is used to orchestrate the building of the images and running of the containers.

To Install:

  1. Install Docker, version 1.3 or higher, on a Linux box or VM.
  2. Install Docker Compose, 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. docker-compose build
  2. docker-compose up -d

To view the site:

  1. http://localhost

Note: If docker-machine is being run on Mac or Windows then the actual IP address will be different. Use "docker-machine env" to determine it.

To stop the containers:

  1. docker-compose 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.

About

Docker containers for Pelican static site generation, served by Nginx.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published