Download Xcode from the mac app store
Setup homebrew_:
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
Then:
brew tap homebrew/versions
Install git:
brew install git
Install python2.7:
brew install python
Make sure that brew installed python is first in path (see here_)
Prepend the following to the PATH variable in your .bashrc or .zshrc:
/usr/local/share/python
Install distribute:
curl -O http://python-distribute.org/distribute_setup.py python distribute_setup.py
Install pip:
easy_install pip
Install virtualenv:
pip install virtualenv
Install virtualenvwrapper:
pip install virtualenvwrapper
Make sure virtualenvwrapper is sourced by your shell environment, place the following into your .profile, .bashrc, or .zshrc:
source /usr/local/bin/virtualenvwrapper.sh
Install required libraries:
easy_install numpy
Then:
brew install geos proj gdal postgresql postgis15
Initialize a DB:
initdb /usr/local/var/postgres
May need to start postgres manually:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Or stop:
pg_ctl -D /usr/local/var/postgres stop -s -m fast
Created
July 26, 2012 19:17
-
-
Save binarymatt/3183924 to your computer and use it in GitHub Desktop.
Developer Setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment