https://github.com/datamade/where-we-work-api
:briefcase: Scripts and API to process and analyze LODES data for where-we-work
https://github.com/datamade/where-we-work-api
Last synced: 22 days ago
JSON representation
:briefcase: Scripts and API to process and analyze LODES data for where-we-work
- Host: GitHub
- URL: https://github.com/datamade/where-we-work-api
- Owner: datamade
- Created: 2014-12-16T19:28:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-09T14:04:07.000Z (almost 11 years ago)
- Last Synced: 2025-11-30T18:16:30.535Z (7 months ago)
- Language: Python
- Homepage: http://wherewework.org
- Size: 402 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Setup notes
On OS X, you need to build Mapnik from source to get it to work with a
virtualenv + homebrew python. Steps:
1. Install Mapnik Dependencies without virtualenv activated (which will ensure
boost-python bindings will be linked correctly to homebrew python)
2. ``configure``, ``make``, and ``sudo make install`` Mapnik with virtualenv
activated.
## Running TileStache
The configs that TileStache needs are in the ``tilestache`` directory. After
``pip install``-ing TileStache, [these
scripts](https://github.com/TileStache/TileStache#installation) should be in
the ``bin`` directory of your virtualenv so you should be able to run them like
so with your virtualenv activated:
```bash
$ tilestache-server.py -c tilestache/tilestache.cfg
```
Or with gunicorn:
```bash
gunicorn -w 3 -b 127.0.0.1:8080 "TileStache:WSGITileServer('tilestache/tilestache.cfg')"
```