stharrold / stharrold.github.io

GitHub page for stharrold, "Data Science Demos", with source code (`src_*` branches).
https://stharrold.github.io
MIT License
2 stars 1 forks source link

stharrold.github.io

GitHub page for stharrold, Data Science Demos, with source code (src_* branches).

Building

This repository contains both the source code for the GitHub page and the output generated by pelican. The page served by GitHub is the master branch, which is managed using ghp-import. The src_* branches are managed using git-flow.

How to build the site for development:

$ git checkout src_develop
$ pelican --settings pelicanconf.py
$ cd output
$ python -m http.server 8000 &
$ # View the page at http://localhost:8000

How to build the site for deployment:

$ git checkout src_master
$ pelican --settings publishconf.py
$ ghp-import output -b master -p
$ # View the page at https://stharrold.github.io