[GeoNode-users] Geonode DevMode Installation (Julierme Pinheiro)

Toni Schönbuchner toni.schoenbuchner at csgis.de
Wed May 16 01:13:34 PDT 2018


Dear Julierme,

>>> I got confused in one thing here. When Geonode is installed in DevMode,
>>> Geoserver and Geonode are served by Paver.

this is a bit vague. Paver does not „serve“ geonode or geoserver.
It´s a managment tool like make which runs tasks for you.

So when you run 'paver start‘ it runs django´s build in webserver: 
https://github.com/GeoNode/geonode/blob/master/pavement.py#L560 <https://github.com/GeoNode/geonode/blob/master/pavement.py#L560>
and ‚jetty' to serve geoserver:
https://github.com/GeoNode/geonode/blob/master/pavement.py#L685 <https://github.com/GeoNode/geonode/blob/master/pavement.py#L685>

Django´s runserver reloads whenever you change some py file. 
Perfect for development;) But not for production:

Now’s a good time to note: don’t use this server in anything resembling a production environment. It’s intended only for use while developing. (We’re in the business of making Web frameworks, not Web servers.)
https://docs.djangoproject.com/en/2.0/intro/tutorial01/ <https://docs.djangoproject.com/en/2.0/intro/tutorial01/>

In production you setup apache or nginx uwsgi, or … together with most likely
Tomcat to serve geonode and geoserver. (Apache does not restart if
you change a python file as runserver does ;)

Hope that clarifies things a bit.

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil	+49/ (0) 176 6680 3198
Tel 		+49/ (0) 341 24 04 738
Fax 		+49/ (0) 341 24 04 73
Web		http://csgis.de
-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

> Am 15.05.2018 um 18:08 schrieb geonode-users-request at lists.osgeo.org:
> 
>>> Dear geonode Developers,
>>> 
>>> I got confused in one thing here. When Geonode is installed in DevMode,
>>> Geoserver and Geonode are served by Paver. So, I can do that following any
>>> of these guides:
>>> 
>>> 1 - Ubuntu 16.04 LTS installation until the end of this URL:
>>> http://docs.geonode.org/en/master/tutorials/install_and_admi <http://docs.geonode.org/en/master/tutorials/install_and_admi>
>>> n/geonode_install/create_geonode_db.html
>>> 
>>> 2 - https://github.com/GeoNode/geonode-project <https://github.com/GeoNode/geonode-project>
>>> 
>>> 3 - http://geonode.org/dev-workshop/#/3/2 <http://geonode.org/dev-workshop/#/3/2>
>>> 
>>> And when geonode is not in DevMod are the followings cases:
>>> 
>>> 1 - Installed via apt-get
>>> 
>>> 2 - Geoserver is served by tomcat and Geonode by apache2
>>> 
>>> 
>>> Are my statements corrects? Could someone give an explanation on that
>>> please?
>>> 
>>> Thank you for your time in advance
>>> 
>>> Kind regards
>>> 
>>> Julierme

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180516/aeb48fa3/attachment-0001.html>


More information about the geonode-users mailing list