& it won't. attract. the worm.

Log of an Actual Octopress Setup (OS X Lion)

| Comments

How I got this little thing on its feet, more or less. Setup of a heroku account not included.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
brew install rbenv
brew install ruby-build
brew install ccache
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
# a little scary!  todo: find out what I just did here
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/
rbenv install 1.9.2-p290

git clone git://github.com/imathis/octopress.git octopress
cd octopress
# Edited the .gitignore: removed 'public' folder
rbenv local 1.9.2 1.9.2p290
ruby --version
# ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.3.0]

gem install bundler
rbenv rehash    # rehash to be able to run the bundle command
bundle install

gem install heroku  # or gem update heroku
heroku create
git config branch.master.remote heroku

rake generate
git add .
git commit -m 'site updated'
git push heroku master

Comments