Added Jekyll commands IPython Notebook.

This commit is contained in:
Donne Martin 2015-02-21 17:57:55 -05:00
parent 8b82750526
commit 39281aaaa8

66
commands/jekyll.ipynb Normal file
View File

@ -0,0 +1,66 @@
{
"metadata": {
"name": "",
"signature": "sha256:435af6ed0f45ee8e7981d6153b8257fea87f3b76370a481bc1ae324c7e28815d"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Jekyll Commands\n",
"\n",
"I\u2019ve also started to build up its mirror site donnemartin.github.io to try out Jekyll. So far I love that I can use my existing developer tools to generate content (SublimeText, Terminal, and GitHub).\n",
"\n",
"Here are other features I like about Jekyll:\n",
"\n",
"* Converts Markdown to produce fast, static pages\n",
"* Simple to get started, no backend or manual updates\n",
"* Hosted on GitHub Pages\n",
"* Open source on GitHub"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Many Jekyll themes require a Ruby version of 2 and above. However, the AWS CLI requires Ruby 1.8.7. Run the proper version of Ruby for Jekyll:"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"rvm --default ruby-2.1.5"
],
"language": "python",
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Build and run the localy Jekyll server:"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"bundle exec jekyll build\n",
"bundle exec jekyll serve"
],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}