My first Python Pelican repository.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Charles Reid 2aa1fe7267 adding whizbang ipython notebook. 10 years ago
cmr-pelican-theme Merge branch 'master' of https://github.com/charlesreid1/cyborg-pelican 10 years ago
content adding whizbang ipython notebook. 10 years ago
.gitignore adding ipython notebook plugin and some example posts. 10 years ago
README.md updating install process in readme 10 years ago
_nb_header.html adding ipython notebook plugin and some example posts. 10 years ago
fabfile.py init commit 10 years ago
pelicanconf.py adding whizbang ipython notebook. 10 years ago
publishconf.py init commit 10 years ago

README.md

cyborg-pelican

My first Pelican repository.

Installing

pip install pelican markdown

Running

My workflow is like this:

I change directory to my copy of this repository.

From there, I check out a copy of my gh-pages branch (of this repository) into the output directory.

I remove content in the output directory.

I run pelican content to generate a static site from the content in the content directory.

This generates static content in output.

I test the site by doing:

$ cd output
$ python -m SimpleHTTPServer

If I'm happy with the site, then from the output directory, I run:

$ git add * && git commit -a -m 'adding everything' && git push origin gh-pages

Finally, I update the source files, by running the same series of commands from the parent (source) directory:

$ cd ..
$ git add * && git commit -m 'update' && git push origin master