Skip to content

Instantly share code, notes, and snippets.

Embed
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 https://github.com/GeoNode/geonode
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/libgeos.py
# at line 131 replace
version_regex = re.compile(
r'^(?P<version>(?P<major>\d+)\.(?P<minor>\d+)\.(?P<subminor>\d+))'
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