A basic blog for Python data science

Tue 18 October 2016 by Adrian Torrie

Setting up this blog to manage a portfolio of data science work involved the following:

  • Setting up a Github pages repo named .github.io
  • Setting up Pelican using pelican-quickstart, instructions here and here
  • Installing pelican-plugins as a submodule
  • Adding a few configuration changes to pelicanconf.py for the plugins to work (below)
  • Created this page
  • From the root directory of the repo I ran:
    • pelican content
    • cd output
    • python -m pelican.server
  • Then I opened my browser to http://localhost:8000/
InĀ [1]:
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['summary', 'liquid_tags.img', 'liquid_tags.video',
           'liquid_tags.include_code', 'liquid_tags.notebook',
           'liquid_tags.literal']

Comments

Fork me on GitHub