Skip to content

Instantly share code, notes, and snippets.

@datapimp
Created August 2, 2013 02:38
Show Gist options
  • Save datapimp/6137126 to your computer and use it in GitHub Desktop.
Save datapimp/6137126 to your computer and use it in GitHub Desktop.
- download xcode from the app store
- open xcode, and go to preferences ( press command + comma ) and make sure you click install where it says development tools.
- open the terminal program, and create a new terminal window by pressing `command + n`
- install homebrew by copying and pasting the following into you terminal:
```bash
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
```
- open another terminal window, and install rvm by copying and pasting the following into your terminal:
```bash
curl -L https://get.rvm.io | bash -s stable
```
when rvm is done installing, open a new terminal window again by pressing `command + n`
install the latest version of ruby by copying and pasting the following:
```bash
rvm install 1.9.3-p392
```
```
rvm use 1.9.3-p392 --default
```
clone the blog project we started earlier by running
```bash
mkdir ~/Projects
cd ~/Projects
https://github.com/amyjohnson123/test-project.git ./johnson-justified
cd johnson-justified
bundle install
```
when that command is finished, open the johnson-justified folder in the editor of your choice.
you can run the middleman server by running the command within your project folder:
```bash
middleman
```
your site will be visible on http://localhost:4567
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment