made the blog ipython ready

This commit is contained in:
Marvin Steadfast 2014-11-18 16:10:56 +01:00
parent 0bd2ef12fa
commit bfbe310a02
5 changed files with 1606 additions and 1587 deletions

5
.gitignore vendored
View File

@ -2,6 +2,8 @@
output output
pelicanconf_local.py pelicanconf_local.py
cache/ cache/
pelican-plugins/*
.ipynb_checkpoints
#Python #Python
*.py[cod] *.py[cod]
@ -41,6 +43,3 @@ nosetests.xml
.mr.developer.cfg .mr.developer.cfg
.project .project
.pydevproject .pydevproject
# OWN STUFF
pelican-plugins/*

View File

@ -6,7 +6,7 @@ blog
1. `git clone git@github.com:xsteadfastx/blog.git` 1. `git clone git@github.com:xsteadfastx/blog.git`
2. `cd blog && virtualenv -p /usr/bin/python3 venv` 2. `cd blog && virtualenv -p /usr/bin/python3 venv`
3. `source venv/bin/activate` 3. `source venv/bin/activate`
4. `pip install pelican markdown ghp-import shovel` 4. `pip install -r requirements.txt`
## upgrade ## ## upgrade ##
`pip install --upgrade pelican markdown ghp-import shovel` `pip install --upgrade pelican markdown ghp-import shovel`

File diff suppressed because one or more lines are too long

View File

@ -61,8 +61,10 @@ ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/{slug}/index.html'
# plugins # plugins
PLUGIN_PATHS = ['pelican-plugins'] PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['liquid_tags.youtube'] PLUGINS = ['liquid_tags.youtube', 'liquid_tags.notebook']
#CODE_DIR = 'code' #CODE_DIR = 'code'
#NOTEBOOK_DIR = 'notebooks' NOTEBOOK_DIR = 'notebooks'
#EXTRA_HEADER = open('_nb_header.html').read().decode('utf-8') EXTRA_HEADER = open('_nb_header.html').read()
LOAD_CONTENT_CACHE = False

17
requirements.txt Normal file
View File

@ -0,0 +1,17 @@
Jinja2==2.7.3
Markdown==2.4
MarkupSafe==0.23
Pygments==1.6
Unidecode==0.04.16
blinker==1.3
certifi==14.05.14
docutils==0.12
feedgenerator==1.7
ghp-import==0.4.1
ipython==2.3.1
pelican==3.4.0
python-dateutil==2.2
pytz==2014.7
pyzmq==14.4.1
six==1.8.0
tornado==4.0.2