bstempi / crw.dog

Static site repo for crw.dog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CRW.dog: Where the Dogs Go

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

  • Checkout this repo and cd into it
  • Run virtualenv 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 SimpleHTTPServer 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

Static site repo for crw.dog


Languages

Language:Makefile 51.0%Language:Shell 29.0%Language:Python 20.0%