Skip to content

williamjacksn/docker-pelican

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-pelican

A Docker image for getpelican/pelican.

docker image pull ghcr.io/williamjacksn/pelican

This image is also available on Docker Hub as williamjackson/pelican.

Usage

To quick-start a new site:

  1. Create a new folder for your site:
    mkdir my-site
  2. Change to your new folder:
    cd my-site
  3. Run Pelican's quick-start:
    • Linux or PowerShell: docker container run -it --rm --entrypoint pelican-quickstart -v ${PWD}:/pelican-site ghcr.io/williamjacksn/pelican
    • Windows CMD: docker container run -it --rm --entrypoint pelican-quickstart -v %cd%:/pelican-site ghcr.io/williamjacksn/pelican

After making changes to your site content, generate the output with:

docker container run --rm -v ${PWD}:/pelican-site ghcr.io/williamjacksn/pelican