Skip to content

jabostian/jabostian.github.io-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jabostian.github.io-source

Source for my github page.

This is how I built the Adventures in Computing blog. These sources were really helpful it getting things up and running

I used Jake Vanderplas' blog as a model and example.

One-time setup to create the build environment

conda create -n jab-blog jupyter notebook
source activate jab-blog
pip install pelican Markdown ghp-import

Pelican Quickstart

cd <git-repo-for-blog-source>
pelican-quickstart
cd content
mkdir articles
mkdir images
mkdir -p downloads/notebooks
cd articles
vi 2017-01-01-hello-world.md

Add the necessary content for the article. Mine looks like this:

Title: Hello World
Date: 2017-01-01
Category: Blog

Hello, World

Make sure not to put anything in the Title that can break Pelican - like the , that is often included in Hello, World applications.

Now build the static content

cd <git-repo-for-blog-source>
make html
make serve

Now preview your article. Use your browser to navigate to http://localhost:8000