https://pypi.python.org/pypi/setuptools#installation-instructions
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
sudo python ez_setup.py
sudo easy_install pip
pip install virtualenv
pip install numpy
brew install gdal
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
# generate the css from the sass
../bin/mapit_make_css
pgsql
CREATE DATABASE database_name;
pgsql database_name
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
# Setup django install
./manage.py syncdb
./manage.py migrate mapit
# run dev server
./manage.py runserver
http://code.mapit.mysociety.org/import/uk/
ok ./manage.py mapit_generation_create --commit --desc "Initial import."
ok ./manage.py loaddata uk
ok ./manage.py mapit_UK_import_boundary_line
--control=mapit.controls.first-gss --commit
\ls ../data/Boundary-Line/Data/*.shp|\grep -v high_water
./manage.py mapit_UK_find_parents ./manage.py mapit_UK_import_codepoint ../data/Code-Point-Open/*.csv ./manage.py mapit_UK_scilly ../data/Code-Point-Open/tr.csv ./manage.py mapit_UK_import_nspd_ni_areas ./manage.py mapit_UK_import_nspd_ni ../data/ONSPD.csv ./manage.py mapit_UK_import_nspd_crown_dependencies ../data/ONSPD.csv ./manage.py mapit_generation_activate --commit