2011-07-19 22:28:48 -04:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
title: Octopress Setup
|
|
|
|
date: July 18 2011
|
|
|
|
sidebar: false
|
|
|
|
footer: false
|
|
|
|
---
|
|
|
|
|
2011-09-19 13:19:20 -04:00
|
|
|
First, I want to stress that **Octopress is a blogging framework for hackers**.
|
|
|
|
You should be comfortable running shell commands and familiar with the basics of Git.
|
|
|
|
If that sounds daunting, Octopress probably isn't for you.
|
2011-07-19 22:28:48 -04:00
|
|
|
|
2011-09-19 13:19:20 -04:00
|
|
|
## Before You Begin
|
2011-08-02 00:40:15 -04:00
|
|
|
|
2012-08-03 17:18:01 -04:00
|
|
|
1. [Install Git](http://git-scm.com/).
|
|
|
|
2. Install Ruby 1.9.3 using either [rbenv](/docs/setup/rbenv) or [RVM](/docs/setup/rvm).
|
2011-09-22 14:58:44 -04:00
|
|
|
|
2012-08-03 17:18:01 -04:00
|
|
|
If `ruby --version` doesn't say you're using Ruby 1.9.3, revisit your [rbenv](/docs/setup/rbenv) or [RVM](/docs/setup/rvm) installation.
|
2012-05-23 00:34:53 -04:00
|
|
|
|
2011-09-19 13:19:20 -04:00
|
|
|
## Setup Octopress
|
2011-07-19 22:28:48 -04:00
|
|
|
|
2011-09-19 13:19:20 -04:00
|
|
|
```sh
|
|
|
|
git clone git://github.com/imathis/octopress.git octopress
|
2011-09-22 14:58:44 -04:00
|
|
|
cd octopress # If you use RVM, You'll be asked if you trust the .rvmrc file (say yes).
|
2012-07-31 16:45:05 -04:00
|
|
|
ruby --version # Should report Ruby 1.9.3
|
2011-08-02 00:40:15 -04:00
|
|
|
```
|
|
|
|
|
2011-09-19 13:19:20 -04:00
|
|
|
Next, install dependencies.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
gem install bundler
|
2011-12-10 06:17:12 -05:00
|
|
|
rbenv rehash # If you use rbenv, rehash to be able to run the bundle command
|
2011-09-19 13:19:20 -04:00
|
|
|
bundle install
|
|
|
|
```
|
2011-07-19 22:28:48 -04:00
|
|
|
|
2011-09-19 13:19:20 -04:00
|
|
|
Install the default Octopress theme.
|
2011-07-19 22:28:48 -04:00
|
|
|
|
2011-08-02 00:40:15 -04:00
|
|
|
``` sh
|
2011-09-19 13:19:20 -04:00
|
|
|
rake install
|
2011-08-02 00:40:15 -04:00
|
|
|
```
|
2011-07-23 01:36:20 -04:00
|
|
|
|
2011-09-19 13:19:20 -04:00
|
|
|
## Next Steps
|
2011-07-23 01:36:20 -04:00
|
|
|
|
2011-09-19 13:19:20 -04:00
|
|
|
- [Set up deployment](/docs/deploying)
|
|
|
|
- [Configure your blog](/docs/configuring)
|
|
|
|
- [Start blogging with Octopress](/docs/blogging)
|