From charlesreid1

Revision as of 05:48, 12 April 2014 by Admin (talk | contribs)

Okay, here's what I did:

The repository I was trying to create a website for was called cantera-book

Used jekyll-base https://github.com/charlesreid1/jekyll-base to create base structure for a jekyll website, and put it in my repository in jekyll directory

In the jekyll directory I created a site called _site by cloning the gh-pages branch of cantera-book

(if you don't have one, do the git branch --orphan gh-pgaes thing)

Then when you run

jekyll build

to build the site in the _site directory, it will deploy the site to your new local version of the gh-pages branch of the repository.

When you like the changes, you can do

cd _sources
git push origin gh-pages