<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi Chiara,</div><div class=""><br class=""></div><div class="">I would try the following. In GeoNode context mapstore comes with pypi. It should</div><div class="">work to instead use a local version. </div><div class=""><br class=""></div><div class="">Try to clone it with something like:</div><div class=""><br class=""></div><div class="">git clone —recursive <a href="https://github.com/GeoNode/geonode-mapstore-client" class="">https://github.com/GeoNode/geonode-mapstore-client</a></div>
<div><br class=""></div><div>and add it to your installed settings with something like:</div><div><br class=""></div><div>...</div><div>‚geonode_mapstore_client.apps.AppConfig',</div><div>…</div><div><br class=""></div><div>Hope this does it.</div><div><br class=""></div><div>Cheers,</div><div><br class=""></div><div>Toni</div><div><br class=""><blockquote type="cite" class=""><div class="">Am 11.11.2019 um 21:00 schrieb <a href="mailto:geonode-users-request@lists.osgeo.org" class="">geonode-users-request@lists.osgeo.org</a>:</div><br class="Apple-interchange-newline"><div class="">Send geonode-users mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space:pre">       </span><a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>https://lists.osgeo.org/mailman/listinfo/geonode-users<br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>geonode-users-request@lists.osgeo.org<br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>geonode-users-owner@lists.osgeo.org<br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of geonode-users digest..."<br class="">Today's Topics:<br class=""><br class="">   1. How to make Geonode POINT TO a customized version<span class="Apple-tab-span" style="white-space:pre">        </span>of<br class="">      MapStore2? (Chiara Sammarco)<br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Von: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Chiara Sammarco <chiara.sammarco@geodatalab.it><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Betreff: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[GeoNode-users] How to make Geonode POINT TO a customized version of MapStore2?</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Datum: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">11. November 2019 um 11:31:15 MEZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">An: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">geonode-users@lists.osgeo.org<br class=""></span></div><br class=""><br class=""><div dir="ltr" class="">Good Morning all,<div class=""><br class=""></div><div class="">is it possibile to make a geonode installation point to a custom installation of Mapstore2? </div><div class=""><br class=""></div><div class="">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>.</div><div class=""><br class=""></div><div class="">Now, my question is how can I make my geonode installation point to this mapstore viewer installation? <br class=""><br class="">I've already seen that:</div><div class="">- 

in settings.py 

there's this variable <span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;white-space:pre" class="">GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY</span> that is equal to mapstore as default (but there are some other possible values, like 'geoext', 'leaflet', 'react'...)<br class="">- that in case of "mapstore", <span style="background-color:rgb(249,249,249);color:rgb(108,108,108);font-family:"Source Code Pro",monospace;font-size:13.6px" class="">django-mapstore-adapter</span> and <span style="background-color:rgb(249,249,249);color:rgb(108,108,108);font-family:"Source Code Pro",monospace;font-size:13.6px" class="">django-geonode-mapstore-client</span>  libraries are installed </div><div class="">- and a certain bunch of settings is added (as explained here: <a href="https://pypi.org/project/django-geonode-mapstore-client/" class="">https://pypi.org/project/django-geonode-mapstore-client/</a>)</div><div class=""><br class=""></div><div class="">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 ... </div><div class=""><br class=""></div><div class="">but in anycase, the question still is the same. How to make my geonode installation use a certain mapstore installation?</div><div class=""><br class=""></div><div class="">Thanks in advance for your help.<br class="">A good start of 

working week to all,<br class="">Chiara</div></div>
<br class=""><br class="">_______________________________________________<br class="">geonode-users mailing list<br class="">geonode-users@lists.osgeo.org<br class="">https://lists.osgeo.org/mailman/listinfo/geonode-users<br class=""></div></blockquote></div><br class=""></body></html>