[GeoNode-users] How to make Geonode POINT TO a customized version of MapStore2
Toni Schönbuchner
toni.schoenbuchner at csgis.de
Mon Nov 11 23:31:08 PST 2019
Hi Chiara,
I would try the following. In GeoNode context mapstore comes with pypi. It should
work to instead use a local version.
Try to clone it with something like:
git clone —recursive https://github.com/GeoNode/geonode-mapstore-client
and add it to your installed settings with something like:
...
‚geonode_mapstore_client.apps.AppConfig',
…
Hope this does it.
Cheers,
Toni
> Am 11.11.2019 um 21:00 schrieb geonode-users-request at lists.osgeo.org:
>
> Send geonode-users mailing list submissions to
> geonode-users at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.osgeo.org/mailman/listinfo/geonode-users
> or, via email, send a message with subject or body 'help' to
> geonode-users-request at lists.osgeo.org
>
> You can reach the person managing the list at
> geonode-users-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of geonode-users digest..."
> Today's Topics:
>
> 1. How to make Geonode POINT TO a customized version of
> MapStore2? (Chiara Sammarco)
>
> Von: Chiara Sammarco <chiara.sammarco at geodatalab.it>
> Betreff: [GeoNode-users] How to make Geonode POINT TO a customized version of MapStore2?
> Datum: 11. November 2019 um 11:31:15 MEZ
> An: geonode-users at lists.osgeo.org
>
>
> Good Morning all,
>
> is it possibile to make a geonode installation point to a custom installation of Mapstore2?
>
> In other words, let's suppose that I want to customize somehow the mapstore2 viewer in geonode. So let's suppose that I have cloned the github repo of mapstore2 and that I've made the desired modifications. Now I have my mapstore2 service running somewhere <ip:port>.
>
> Now, my question is how can I make my geonode installation point to this mapstore viewer installation?
>
> I've already seen that:
> - in settings.py there's this variable GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY that is equal to mapstore as default (but there are some other possible values, like 'geoext', 'leaflet', 'react'...)
> - that in case of "mapstore", django-mapstore-adapter and django-geonode-mapstore-client libraries are installed
> - and a certain bunch of settings is added (as explained here: https://pypi.org/project/django-geonode-mapstore-client/ <https://pypi.org/project/django-geonode-mapstore-client/>)
>
> Working with SPCGeonode 2.10, so with the docker version of geonode, I was thinking maybe a possible way would be to make mapstore running in a container, hence adding it in the docker-compose.yml ...
>
> but in anycase, the question still is the same. How to make my geonode installation use a certain mapstore installation?
>
> Thanks in advance for your help.
> A good start of working week to all,
> Chiara
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20191112/8c23df2a/attachment.html>
More information about the geonode-users
mailing list