Skip to content

bstempi/blog

Repository files navigation

Brian Stempin's Blog

Here are the instructions for generating and publishing static pages from this repo:

  • Checkout this repo and cd into it
  • Run virtualenv env/ or python3 -m venv env/ It's already added to the gitignore
    • Enable it by running source env/bin/activate
  • If you have pip installed, run ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install -r requirements.txt. If you don't have pip installed, then install it.
  • To generate page in dev mode and to regenerate on content changes, run pelican -v -r --ignore-cache content
  • To run a small web server to view generated pages, run cd output and then python -m http.server 9000
  • To generate content for publishing, run pelican -v --ignore-cache --settings publishconf.py content This version of the command will enable Google Analytics, Disqus, and use absolute links.
  • To publish the content, run ghp-import -m "Message here" -p -b gh-pages output/

About

My personal blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages