Skip to content

Instantly share code, notes, and snippets.

@davidbakertv
Created November 20, 2012 21:19
Show Gist options
  • Save davidbakertv/4121211 to your computer and use it in GitHub Desktop.
Save davidbakertv/4121211 to your computer and use it in GitHub Desktop.
step by step commands for presentation at flatiron school 11/20/12
INSTALL & SETUP
========================
git clone git://github.com/imathis/octopress.git
cd octopress
bundle
rake install
rake preview
http://localhost:4000/
rake new_post["Hello World"]
subl .
source/_posts/
### ZOMG I'm Bloggin!
{% img http://i.imgur.com/UmpOi.gif %}
http://localhost:4000/
_config.yml
title: Happy Blogsgiving
subtitle: A blog for turkeys
author: Joe Turkey
.gitignore
delete public
rake generate
rake preview
DEPLOY
========================
gem install heroku
heroku create
git config branch.master.remote heroku
git add .
git commit -m 'initial commit'
git push heroku master
heroku open
CHANGE DEFAULT COLORS
========================
http://octocolor.com
ADDITIONAL RESOURCES
========================
Octopress Documentation: http://octopress.org/docs/
Setting up a Custom Domain on Heroku:
http://akivaleeder.herokuapp.com/blog/2012/10/10/setting-up-a-custom-domain-for-your-heroku-octopress-blog/
Installing a Custom Theme on Octopress:
http://dbtvblog.herokuapp.com/blog/2012/11/06/how-to-install-a-custom-theme-on-octopress/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment