===
git clone https://github.com/TableTopSecurity/TableTopSecurity.github.io.git
cd TableTopSecurity.github.io
git fetch origin
git branch gh-pages origin/master
pip install virtualenv
mkdir ENV
virtualenv ENV
source ENV/bin/activate
conda create --name TTS python=3
source activate TTS
pip install pelican
pip install Markdown
pip install ghp-import
# start local server
make devserver
# site is viewable at http://localhost:8000/
# to stop: make stopserver
# You have some changes to the `source` branch
# They should be all committed; check with `git status` and commit if any
# Now we are about to re-generate the website in a `gh-pages` branch
# Prep that by getting it up to date:
git checkout gh-pages
git pull origin master
# now, switch back to the `source` branch
git checkout source
# now generate the new `output` and use it to update the `gh-pages` branch
pelican content -o output -s publishconf.py
ghp-import output
# now push the local `gh-pages` branch to the remote `master` branch
git push origin gh-pages:master
# if you did this wrong, you'll get some type of merge error when
# you push gh-pages to the remote master branch and it will
# complain that you shoud have done a pull first