-
Notifications
You must be signed in to change notification settings - Fork 2
Proposed OS X Installation Instructions
This can be done with a single line:
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"Using homebrew:
brew install pythonNote that if you have XCode installed, you should already have a version of python that will work, and this step can be omitted. However, you will need to install easy_install and pip manually.
You will need virtualenv
pip install virtualenvThe most stable and reliable way of building the latest CouchDB is to use the iriscouch installer scripts. It is to be mentioned that this method requires XCode, however, so those looking to avoid this dependency may opt to download the latest 1.1.x from http://www.couchbase.com/downloads.
The iriscouch method is replicated here for convenience:
git clone git://github.com/iriscouch/build-couchdb
cd build-couchdb
git submodule init
git submodule update
rakeGo get some coffee or something. It's gonna be a little while.
To start couch, run
build/bin/couchdbAgain, this is easiest to do with Homebrew:
brew install nginxThis is useful for sandboxing your development environment. Any dependencies you install will be local to the virtualenv you installed them in.
cd ~
mkdir virtualenv
virtualenv virtualenv/lr
. virtualenv/lr/bin/activateYou should see your prompt preceded by (lr), indicating you have successfully activated your virtual environment.
Run the following commands to grab the master branch from this GitHub repository:
cd ~
mkdir gitrepos; cd gitrepos
git clone https://github.com/LearningRegistry/LearningRegistry.gitThis step will fetch all of the necessary dependencies and install them into your virtualenv, assuming you have followed this guide in sequence and are currently in the virtualenv previously created:
cd ~/gitrepos/LearningRegistry/LR
pip install -e ./
pip install uwsgi