Installation/Mac OS/Mavericks: Difference between revisions
(→MySQL) |
|||
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> | ||
Revision as of 09:21, 31 July 2014
Versions
These instructions are for Mac OS X 10.9 (Mavericks)
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:
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
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.