[GeoNode-users] geonode devmode python virtualenv installation
Julierme Pinheiro
juliermeopensourcedeveloper at gmail.com
Fri Mar 15 12:50:50 PDT 2019
Dear all,
I have tried to install geonode devmode vs 2.8 via python virtualenv in a
16.04LTS Ubuntu server. I am following the guide in here [1].
I am using custom local_settings.py. Everything works fine, except:
1 - geoserver url. The link for Geoserver on GeoNode site points to
localhost:8000/proxy/?url=http:localhost:8080/geoserver/, however when
clicking on it, the site opens localhost:8000/geoserver/index.html.
2 - Upload layers - while uploading a layer, we hit " Unespected error"
Geoserver port number should be 8080. Thinking about that, I went to [2]
which says to comment the lines:
...# SITEURL = 'http://localhost'...#GEOSERVER_LOCATION = os.getenv(#
'GEOSERVER_LOCATION', '{}/geoserver/'.format(SITEURL)#)
#GEOSERVER_PUBLIC_LOCATION = os.getenv(#
'GEOSERVER_PUBLIC_LOCATION', '{}/gs/'.format(SITEURL)#)...
Besides of that, I set GEOSERVER_PUBLIC_PORT = '8080', but the issues remains.
GEOSERVER_PUBLIC_PORT = os.getenv(
'GEOSERVER_PUBLIC_PORT', '8080'
)
If anyone else has faced these problems and could share any hint, it will
be very appreciated.
Kind regards
Julierme
[1]
https://github.com/GeoNode/geonode-project/tree/06602d424a3779a636bcc78bc1d50c83ba980bad
[2]
http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/create_geonode_db.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190315/4f1769b2/attachment.html>
More information about the geonode-users
mailing list