Skip to content

Commit

Permalink
Add install target
Browse files Browse the repository at this point in the history
Doesn't quite work yet due to the django-extra-views conflict of #7.  It
should start working once that issue is resolved.
  • Loading branch information
codeinthehole committed Dec 6, 2012
1 parent 939fc0c commit e2ed0cd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
@@ -1,5 +1,9 @@
.PHONY: sandbox geoip

install:
python setup.py develop
pip install -r requirements.txt

geoip:
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gunzip GeoLiteCity.dat.gz
Expand All @@ -10,5 +14,4 @@ sandbox: install
-spatialite sandbox/sandbox/sandbox.sqlite3 "SELECT InitSpatialMetaData();"
./sandbox/manage.py syncdb --noinput
./sandbox/manage.py migrate
./sandbox/manage.py loaddata sandbox/fixtures/auth.json
./sandbox/manage.py loaddata countries.json
./sandbox/manage.py loaddata sandbox/fixtures/auth.json countries.json

0 comments on commit e2ed0cd

Please sign in to comment.