A simple Django app to validate your GeoJSON. This app is available at http://geojsonlint.com but can run locally with minimal effort.
More info at http://geojason.info/2012/geojson-validation-via-geojsonlint.com/
- Clone the repo and cd into it
- Create a python virtual environment
virtualenv venv --distribute - Source to the virtual environment
source venv/bin/activate - Install requirements
pip install -r requirements.txt - Run the server
python manage.py runserver - Enjoy http://localhost:8000
Since this is a simple web app with no database requirements, a custom test runner is defined in settings (TEST_RUNNER = 'testrunner.NoDbTestRunner') so there are no database setup or teardown.
- Source to the virtual environment
source venv/bin/activate - python manage.py test geojsonlint
