A docker composition for static Pelican based web sites updatable with a webhook.
This program allows to easily start a hosted static website just by editing/pushing some markdown or restructured pages on GitHub or any repository with webhooks enabled. It bundles pelican, pelican-plugins, pelican-themes and pelicangit for a maximum flexibility.
Here is a page repo: https://github.com/yomguy/musichacking2017
and its related static (but then dynamically triggered) site : http://hacking2017.ircam.fr/
git clone --recursive https://github.com/Ircam-Web/docker-pelican.git
This will also checkout all pelican plugins.
To get all pelican-themes, just do:
cd lib/pelican-themes
git submodule update
The config file is app/pelicanconf.py
You will need a separate repository for your input text sources.
Clone your repo in the var/in
directory, for example:
git clone https://github.com/yomguy/musichacking2017.git var/in
docker-compose up
The app can automatically be triggered by a webhook as explained here
The default port in 8888 in our case.
with love <3
docker-pelican is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
mezzanine-organization is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
Read the LICENSE.txt file for more details.