Skip to content

Commit

Permalink
Merge branch 'version-bump'
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Nov 24, 2017
2 parents e5484f2 + e4e7e64 commit f9cdfce
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Expand Up @@ -3,9 +3,15 @@ language: python
python:
- "2.7"
- "3.5"
- "3.6"

dist: trusty
sudo: false
addons:
postgresql: "9.4"
postgresql: "9.5"
apt:
packages:
- postgresql-9.5-postgis-2.3

services: postgresql

Expand Down
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -123,6 +123,21 @@ If you want your user to have super privileges:

ALTER USER cosmopolitan WITH SUPERUSER;

Tip for local development using (OS X)

Install [GDAL binaries]() for OSX, and add the following to .bash_profile:

GDAL_LIBRARY_PATH="/Library/Frameworks/GDAL.framework/Versions/1.11/GDAL"
GEOS_LIBRARY_PATH="/Library/Frameworks/GEOS.framework/Versions/3/GEOS"

Then add the following to your local Django settings:

# GeoDjango fixes
GDAL_LIBRARY_PATH = os.environ.get('GDAL_LIBRARY_PATH')
GEOS_LIBRARY_PATH = os.environ.get('GEOS_LIBRARY_PATH')

(see https://www.alextomkins.com/2017/08/fixing-gdal-geos-django-macos/ for details)

## Starting from scratch

### Requirements
Expand Down

0 comments on commit f9cdfce

Please sign in to comment.