Installation/Mac OS/Mavericks: Difference between revisions

From diaspora* project wiki
(Update instructions for the new Pronto gem)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
=== Versions ===
=== Versions ===


These instructions are for Mac OS X 10.9 (Mavericks)
These instructions are for Mac OS X 10.9 (Mavericks). These instructions have also been tested on OS X 10.10.3 (Yosemite).


=== Package Management ===
=== Package Management ===
Line 28: Line 28:
Add it to launchctl so it will start automatically:
Add it to launchctl so it will start automatically:


<pre>ln -sfv/usr/local/opt/mysql/*.plist~/Library/LaunchAgents</pre>
<pre>ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents</pre>
<pre>mysql.server start</pre>
<pre>mysql.server start</pre>


Line 46: Line 46:


<pre>brew install git</pre>
<pre>brew install git</pre>
=== Pronto (Only for development) ===
The Rugged gem which is a dependency for Pronto, requires cmake:
<pre>brew install cmake</pre>


=== Redis ===
=== Redis ===

Latest revision as of 10:08, 12 July 2015

NoteNote:This guide still needs to be rewritten for the new installation guides form

Versions

These instructions are for Mac OS X 10.9 (Mavericks). These instructions have also been tested on OS X 10.10.3 (Yosemite).

Package Management

Install Homebrew and then come back here.

Build Tools

Run:

xcode-select --install

or go to link below and download command line tools if above does not work:

xcode command line tools

MySQL

To install MySQL, run the following:

brew install mysql

Add it to launchctl so it will start automatically:

ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
mysql.server start

Now mysql is running, and you have a user named root with no password.

ImageMagick

To install ImageMagick, run the following:

brew install imagemagick --with-freetype --with-fontconfig

Make sure to add freetype and fontconfig switches, as they are needed for image captcha

Git

To install Git, run the following:

brew install git

Pronto (Only for development)

The Rugged gem which is a dependency for Pronto, requires cmake:

brew install cmake

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 Notes On Installing and Running Diaspora.