Living Lots Philly, a vacant lot viewer for Philadelphia
JavaScript CSS Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deploy
livinglotsphilly
logs
requirements
scripts
tilestache
.agignore
.gitignore
COPYING
LICENSE
README.rst
fabfile.py

README.rst

Living Lots Philly

A vacant lot viewer and organizing platform for Philadelphia, roughly based on 596 Acres.

Installation

Install mapnik.

Living Lots Philly uses Django and GeoDjango. The rest of the requirements are in requirements.txt:

pip install -r requirements/base.txt
pip install -r requirements/local.txt

Once the requirements are installed, create a PostGIS database as described in settings/base.py. Then get Django running on that database:

django-admin.py syncdb
django-admin.py migrate

Then fire up the server (we're using django-extensions for nice in-browser debugging):

django-admin.py runserver_plus

Once you have the site running, you'll probably want to populate it with some data. This is currently slightly labor-intensive. First, download the parcels data and unzip it into your DATA_ROOT. Then load those parcels:

django-admin.py shell
> from phillydata.parcels.load import load_parcels
> load_parcels()

This will take a few minutes. From here, the data loads in a bit of a trickle via django-external-data-sync. Once the parcels have loaded, load the fixtures that define these:

django-admin.py loaddata data_sources

This fixture is in the phillydata_local app. Then run syncexternaldata:

django-admin.py syncexternaldata

and this will start loading data from all of the data sources listed in the fixture above.

Organization

Apps specific to Philadelphia's data are grouped in the package phillydata.

License

Living Lots Philly is released under the GNU Affero General Public License, version 3.