The pelicantheme-generator that generate the themes from https://github.com/getpelican/pelican-themes project site
Dependencies
- Python
- imagemagick
- CutyCapt
- Prepare environment (optional)
mkvirtualenv --no-site-packages -p /usr/bin/python2.7 pelicanthemes-generator
pip install -r requirements.txt
- Prepare the project
mkdir ~/pelicanthemes-generator
cd ~/pelicanthemes-generator
git clone --recursive https://github.com/getpelican/pelican-themes ~/pelican-themes
git clone https://github.com/badele/pelicanthemes-generator.git pelicanthemes-generator
- Generate themes previews
cd ~/pelicanthemes-generator/pelicanthemes-generator
./generate_pelicanconfs.py ../pelican-themes
./generate_articles.py ../pelican-themes
Open two terminal
# In the first terminal
make serve
# In the second terminal
./generate_screenshots.py ../pelican-themes
You can see the result in http://pelicanthemes.jesuislibre.org
Sample result