Skip to content

Installing on Mac OS X

sarahmei edited this page May 14, 2011 · 11 revisions

Versions

These instructions are for Mac OS X 10.6 (Snow Leopard).

Package Management

Install Homebrew and then come back here.

Build Tools

To install build tools, you need to download and install Xcode. It's a large download; it also comes on your OS X DVD.

MySQL

To install MySQL, run the following:

    brew install mysql

Install the plist file to have it start automatically:

    mkdir -p ~/Library/LaunchAgents
    cp /usr/local/Cellar/mysql/5.5.10/com.mysql.mysqld.plist ~/Library/LaunchAgents/
    launchctl load -w ~/Library/LaunchAgents/com.mysql.mysqld.plist

ImageMagick

To install ImageMagick, run the following:

    brew install imagemagick

Git

To install Git, run the following:

    brew install git

Redis

To install Redis, run the following:

    brew install redis

RubyGems

RubyGems comes preinstalled. However, you might need to update it for use with the latest Bundler. To update RubyGems, run

    sudo gem update --system

Bundler

To install Bundler, run the following:

    sudo gem install bundler 

Congrats! You have all your dependencies installed. Go back to Installing and Running Diaspora.

Now, go back to Installing and Running Diaspora to continue with the installation.

Clone this wiki locally