Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.27 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.27 KB

This repository holds the files for my website hreikin.co.uk.

Instructions

External Dependencies

  • Pillow/PIL
  • Stork Search

Setup

git clone --recurse-submodules https://github.com/hreikin/hreikin.github.io.git     # Clone repository
cd hreikin.github.io                                                                # Change in to the new repository
python -m venv .venv                                                                # Create venv
source .venv/bin/activate                                                           # Source venv
pip install -r requirements.txt                                                     # Install development requirements

Usage

During development:

pelican content -d                  # Generate content in new output folder
pelican --listen --ignore-cache     # Serve on development server at http://127.0.0.1:8000

Push changes to build the updated site:

pelican content -d -s publishconf.py    # Generate content in new output folder using publishconf.py
ghp-import -n output                    # Use ghp-import to update the gh-pages branch and include a .nojekyll file
git push origin gh-pages                # Push changes