[GeoNode-users] Customizing Geonode (Installed via apt-get) from Geonode-project Dev

Julierme Pinheiro juliermeopensourcedeveloper at gmail.com
Thu Apr 19 07:45:32 PDT 2018


Also I did not find *POSTGIS_VERSION* in local_settings.py and in the
settings.py in Geonode (apt-get).

Kind Regards

Julierme

2018-04-19 11:42 GMT-03:00 Julierme Pinheiro <
juliermeopensourcedeveloper at gmail.com>:

> Looking at the ALLOWED_HOSTS and PROXY_ALLOWED_HOSTS in the settings.py in
> my_geonode (Geonode-project DEV)
>
> ALLOWED_HOSTS = ['localhost', 'django', '172.21.14.45'] if
> os.getenv('ALLOWED_HOSTS') is None \
>     else re.split(r' *[,|:|;] *', os.getenv('ALLOWED_HOSTS'))
>
> PROXY_ALLOWED_HOSTS += ('nominatim.openstreetmap.org', '172.21.14.45',)
>
> I am not sure if that configuration is missing something.
>
> Kind regards
>
> Julierme
>
>
> 2018-04-19 11:17 GMT-03:00 Julierme Pinheiro <juliermeopensourcedeveloper@
> gmail.com>:
>
>> Dear Toni Schonbuchner and Dave Kennewell,
>>
>> Thank you very much for your reply.
>>
>> First if I did not misunderstand Toni suggestion, I tried the following:
>>
>> *1 - Commenting out <# ENGINE': '', # Empty ENGINE name disables> from
>> local_settings.py in my_geonode (Geonode-Project Dev virtualenv)*
>>
>> Result: the problem remains
>>
>> *2 - Uncommenting out < ENGINE': '', # Empty ENGINE name disables> from
>> local_settings.py in my_geonode (Geonode-Project Dev virtualenv) and
>> inserting the line < ENGINE': '', # Empty ENGINE name disables> in
>> local_settings.py from Geonode (Geonode apt-get)*.
>>
>> Result: the problem remains
>>
>> However, I got a new response to Dave Kennewell suggestion after
>> activating my_geonode virtualenv:
>>
>> *settings.DATABASES*
>> {'default': {'ENGINE': 'django.db.backends.sqlite3', 'ATOMIC_REQUESTS':
>> False, 'CONN_MAX_AGE': 600, 'HOST': '', 'USER': '', 'PASSWORD': '',
>> 'OPTIONS': {}, 'AUTOCOMMIT': True, 'NAME': '/etc/julierme_virtualenv/my_g
>> eonode/local/lib/python2.7/site-packages/geonode/development.db',
>> 'TIME_ZONE': 'UTC', 'PORT': '', 'TEST': {'COLLATION': None, 'CHARSET':
>> None, 'NAME': None, 'MIRROR': None}}}
>>
>> I think there is no database being used.
>>
>> I also have to make some few notes:
>>
>> *1 - ALLOWED_HOSTS, PROXY_ALLOWED_HOSTS and POSTGIS_VERSION are commented
>> out in local_settings.py in my_geonode (Geonode-Project Dev)*
>>
>> *2 - Geoserver Port is 8080 in Geonode(apt-get) and 6060  in
>> my_geonode(Geonode-Project Dev), but both are running fine.*
>>
>>
>> Thank you very much for your time and patience.
>>
>> I appreciated it.
>>
>> Julierme
>>
>>
>>
>>
>>
>>
>> 2018-04-19 4:29 GMT-03:00 Toni Schönbuchner <toni.schoenbuchner at csgis.de>
>> :
>>
>>> Dear Julierme,
>>>
>>> I haven´t followed the whole thread but have a look at this comment:
>>>
>>>        'ENGINE': '', # Empty ENGINE name disables
>>>
>>> See if things change if you set ENGINE to geonode in your project.
>>>
>>> Best regards,
>>>
>>> Toni
>>>
>>> -----------------------------------------------
>>> CSGIS
>>>
>>> -----------------------------------------------
>>> Kolonnadenstraße 1
>>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>>> 04109 Leipzig
>>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>>> -----------------------------------------------
>>> 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 18.04.2018 um 21:13 schrieb geonode-users-request at lists.osgeo.org:
>>>
>>>        'ENGINE': '', # Empty ENGINE name disables
>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180419/ec022262/attachment.html>


More information about the geonode-users mailing list