Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Install geonode OSX 10.14.1
mkdir -p ~/pyenv
virtualenv ~/pyenv/geonode
source ~/pyenv/geonode/bin/activate
git clone
cd geonode
pip install GDAL==2.3.2 lxml==4.2.5 paver celery==4.1.0
pip install -e .
brew install node
npm install -g bower
npm install -g grunt-cli
### edit file
vim ~/pyenv/geonode/lib/python2.7/site-packages/django/contrib/gis/geos/
# at line 131 replace
version_regex = re.compile(
r'((rc(?P<release_candidate>\d+))|dev)?-CAPI-(?P<capi_version>\d+\.\d+\.\d+)( r\d+)?$'
# with
version_regex = re.compile(r'^(?P<version>(?P<major>\d+)\.(?P<minor>\d+)\.(?P<subminor>\d+))((rc(?P<release_candidate>\d+))|dev)?-CAPI-(?P<capi_version>\d+\.\d+\.\d+).*$')
paver setup
paver sync
paver start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment