[GeoNode-users] Changing Theme for Geonode 2.10

Ran L. kula009 at gmail.com
Wed May 8 10:32:16 PDT 2019


You're welcome!  Hope it helps!

On Wed, May 8, 2019 at 10:31 AM Cliff Patterson <cpatterson at psdrcs.com>
wrote:

> Hi Ran!
>
> Thanks so much for the advice. I will give this a go now!
>
> Cliff
>
> On Wed, May 8, 2019 at 1:29 PM Ran L. <kula009 at gmail.com> wrote:
>
>> Hello Cliff,
>>
>> I'm also working on the Geonode project and had similar issues to yours.
>> After struggling with the package installations and getting no success, I
>> decided to go with the docker. Surprisingly everything went well after
>> using docker!
>>
>> Just follow the instructions on
>> https://github.com/GeoNode/geonode-project. Skip the part " Create a
>> custom project"  entirely because it has nothing to do with docker. Start
>> directly from "Start your server" and work on.
>>
>> If you follow the instructions precisely, you'll be able to customize the
>> Geonode by only modifying files in the "my_geonode" folder without touching
>> the core. If you want to see changes being applied immediately, make sure
>> you run docker-compose in dev mode:
>>
>> docker-compose -f docker-compose.development.yml -f docker-compose.development.override.yml up
>>
>>
>> Let me know if you need more assistance!
>>
>> Best,
>>
>> Ran
>>
>>
>> On Wed, May 8, 2019 at 10:05 AM Cliff Patterson <cpatterson at psdrcs.com>
>> wrote:
>>
>>> Hi Angelos,
>>>
>>> Thanks for your help, but I can't get Geonode-project up and running. I
>>> just get error after error. I am using the instructions on github
>>> https://github.com/GeoNode/geonode-project
>>>
>>> For example, when running pip install -r requirements.txt --upgrade:
>>>
>>> ERROR: Complete output from command python setup.py egg_info:
>>>     ERROR: Failed `CDLL(libgeos_c.so.1)`
>>>     Failed `CDLL(libgeos_c.so)`
>>>     Traceback (most recent call last):
>>>       File "<string>", line 1, in <module>
>>>       File "/tmp/pip-install-UUny1E/Shapely/setup.py", line 38, in
>>> <module>
>>>         from shapely._buildcfg import geos_version_string, geos_version,
>>> \
>>>       File "shapely/_buildcfg.py", line 167, in <module>
>>>         fallbacks=['libgeos_c.so.1', 'libgeos_c.so'])
>>>       File "shapely/_buildcfg.py", line 161, in load_dll
>>>         libname, fallbacks or []))
>>>     OSError: Could not find library geos_c or load any of its variants
>>> ['libgeos_c.so.1', 'libgeos_c.so']
>>>     ----------------------------------------
>>> ERROR: Command "python setup.py egg_info" failed with error code 1 in
>>> /tmp/pip-install-UUny1E/Shapely/
>>>
>>> Error when running: pip install pygdal==$PYGDAL_VERSION
>>>
>>> ERROR: Invalid requirement: '.8'
>>>
>>> At this point, nothing works... So let's start over.
>>>
>>> What is the starting point to install a version of geonode that can be
>>> customized on a fresh installation of Ubuntu 18.04?
>>>
>>> Big thanks!
>>> Cliff
>>>
>>> On Wed, May 8, 2019 at 5:25 AM Angelos Tzotsos <gcpp.kalxas at gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Please keep posting to GeoNode mailing list so that others can follow
>>>> and help.
>>>>
>>>> Since you used the pre-release ppa, only geonode is installed, without
>>>> a
>>>> geonode-project setup for customization.
>>>> Please have a look here for details:
>>>> https://github.com/GeoNode/geonode-project
>>>>
>>>> Best,
>>>> Angelos
>>>>
>>>> On 5/8/19 4:05 AM, Cliff Patterson wrote:
>>>> > I was not sure which directory to edit in order to customize the look
>>>> of
>>>> > geonode (e.g. change logo, menu colour). Ultimately I would like to
>>>> create
>>>> > a theme that I can replicate on several servers, but not sure how to
>>>> > proceed. I installed on Ubuntu 18.04 using the geonode pre-release
>>>> PPA.
>>>> > With the default settings, there are two "static" directories when I
>>>> search
>>>> > the server for "geonode", one at:
>>>> >
>>>> > /usr/local/lib/python2.7/dist-packages/geonode/static/geonode/
>>>> >
>>>> > And another in the web root:
>>>> >
>>>> > /var/www/geonode/static/geonode
>>>> >
>>>> > I'm not that familiar with Django so really not sure which directory
>>>> to
>>>> > edit. The docs say "Your GeoNode project has a directory already set
>>>> up for
>>>> > storing your own images at <my_geonode>/static/img
>>>> > ". Where is <my_geonode>?
>>>> >
>>>> > Cheers,
>>>> > Cliff
>>>> >
>>>> > On Tue., May 7, 2019, 5:28 p.m. Angelos Tzotsos, <
>>>> gcpp.kalxas at gmail.com>
>>>> > wrote:
>>>> >
>>>> >> Hi Cliff,
>>>> >>
>>>> >> The documentation seems right. Are you working with a
>>>> geonode-project or
>>>> >> are you trying to customize the geonode itself?
>>>> >>
>>>> >> Cheers,
>>>> >> Angelos
>>>> >>
>>>> >> On 5/7/19 11:48 PM, Cliff Patterson wrote:
>>>> >>
>>>> >> Are there docs on how to change the geonode theme (e.g. brand logo)
>>>> when
>>>> >> installing 2.10 from the testing PPA? The instructions here do not
>>>> seem to
>>>> >> be valid:
>>>> >>
>>>> http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/theme_admin.html#theme-admin
>>>> >>
>>>> >>
>>>> >> Thanks!
>>>> >> Cliff
>>>> >>
>>>> >>
>>>> >>
>>>> >> _______________________________________________
>>>> >> geonode-users mailing listgeonode-users at lists.osgeo.orghttps://
>>>> lists.osgeo.org/mailman/listinfo/geonode-users
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Angelos Tzotsos, PhD
>>>> >> Charter Member
>>>> >> Open Source Geospatial Foundationhttp://users.ntua.gr/tzotsos
>>>> >>
>>>> >>
>>>>
>>>>
>>>> --
>>>> Angelos Tzotsos, PhD
>>>> Charter Member
>>>> Open Source Geospatial Foundation
>>>> http://users.ntua.gr/tzotsos
>>>>
>>>>
>>>
>>> --
>>>
>>> Cliff Patterson Ph.D.
>>>
>>> *PSD* | Senior GIS Consultant
>>> P: 519-690-2565 ext. 2565
>>> www.psdrcs.com
>>> London | 148 Fullarton St. 9th Floor
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>
>
> --
>
> Cliff Patterson Ph.D.
>
> *PSD* | Senior GIS Consultant
> P: 519-690-2565 ext. 2565
> www.psdrcs.com
> London | 148 Fullarton St. 9th Floor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190508/ab1566f3/attachment-0001.html>


More information about the geonode-users mailing list