Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 36 lines (25 sloc) 1.25 kb
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 29 30 31 32 33 34 35 36
These instructions have proven useful for setting up on OS X Snow Leopard
-----------------------------------------------------------------------------
* Create a Facebook application for testing
e.g. http://facebook.com/developers

* Set up Local Facebook Development
Register and set up a dynamic DNS e.g. dyndns.com to point to your development box
 for more info see http://www.uebersoftware.com/2009/07/fb-series-locally-debug-your-php-facebook-app/

* Set up your source code tree
e.g. git clone git@github.com:newscloud/N2.git

* duplicate facebooker.yml.sample to facebooker.yml
add a facebook app to
configure facebooker.yml

duplicate database.yml.sample to database.yml
edit database.yml
create database rsmt_development

cd /usr/local/mysql/bin
sudo ./mysql -uroot -p
rake n2:db:convert_and_create_database

ruby script/server -p 8858
http://localhost:8858

Delete socket: from database.yml

Edit ~/.bashrc or ~/.bash_profile, look for the export PATH="………" line, and the very end change it so you have /usr/local/mysql/bin on it.

If you don't have a path variable set, then you want to add:

export PATH=$PATH:/usr/local/mysql/bin

Then you need to reload your bashrc file with: source ~/.bashrc and you should be good to go.
Something went wrong with that request. Please try again.