Permalink
Browse files

Add OSX development tip to README

  • Loading branch information...
brew committed Nov 24, 2017
1 parent 0920d1e commit e4e7e64f465c409cc714019c154d581f84238b85
Showing with 15 additions and 0 deletions.
  1. +15 −0 README.md
View
@@ -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

0 comments on commit e4e7e64

Please sign in to comment.