<div dir="ltr">Hi Eugenio, thanks.<div>Did you use geonode 2.6 and geonode project template? Because I haven't the same file of your readme and neither the same of this <a href="https://github.com/GeoNode/geonode/tree/2.6.x/geonode/contrib/geosites#geosites-project">https://github.com/GeoNode/geonode/tree/2.6.x/geonode/contrib/geosites#geosites-project</a></div><div>Is it possible to use geosites in subfolders like <a href="http://IP/sito1">http://IP/sito1</a> and <a href="http://IP/sito2">http://IP/sito2</a> instead of various domains?</div><div><br><div>I have installed geonode via apt-get, then I did <i>django-admin startproject my_geonode</i> whit geonode-project template raccomanded from Simone and at the and I copied site-template in the project folder.</div></div><div>Fosco</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-26 9:26 GMT+02:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-1710101441461573064divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hi Fosco,</p>
<p><br>
</p>
<p>I proposed some changes in the Geosites README file. Those are not yet validated,</p>
<p>however you can take a look to the file, probably it can help,</p>
<p><br>
</p>
<p>see: <a href="https://github.com/GeoNode/geonode/pull/3009/files/c8a8af3cdc23f06c9ccff666da6c461e4132349f#diff-bad3866b9b5ac9dba9a71d8a4f09428b" class="m_-1710101441461573064OWAAutoLink" id="m_-1710101441461573064LPlnk273588" target="_blank">https://github.com/<wbr>GeoNode/geonode/pull/3009/<wbr>files/<wbr>c8a8af3cdc23f06c9ccff666da6c46<wbr>1e4132349f#diff-<wbr>bad3866b9b5ac9dba9a71d8a4f0942<wbr>8b</a></p>
<br>
<p><span style="font-size:12pt">cheers</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Eugenio</span></p>
<p><span style="font-size:12pt"> </span></p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-1710101441461573064divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Da:</b> geonode-users <<a href="mailto:geonode-users-bounces@lists.osgeo.org" target="_blank">geonode-users-bounces@lists.<wbr>osgeo.org</a>> per conto di Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>><br>
<b>Inviato:</b> lunedì 24 aprile 2017 19.29<br>
<b>A:</b> Fosco Ventura<br>
<b>Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<b>Oggetto:</b> Re: [GeoNode-users] Geosites installation error</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">in your project's dir is fine. It works like any django project, if you take a look at the django tutorial you can find very similar setups.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-04-24 19:28 GMT+02:00 Fosco Ventura <span dir="ltr">
<<a href="mailto:foscone@gmail.com" target="_blank">foscone@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">And I have to copy site-template in dir/dir/contrib/geosites or only in dir/dir like in this guide <a href="https://github.com/terranodo/landscapeportal" target="_blank">https://github.com/terra<wbr>nodo/landscapeportal</a> ?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-04-24 18:07 GMT+02:00 Simone Dalmasso <span dir="ltr">
<<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>geonode-project is just a template, all you may need you can copy into it. In this case just copy the site-template either from githiub or your geonode installation (you can search for it and copy) and rename accordingly.</div>
</div>
<div class="gmail_extra">
<div>
<div class="m_-1710101441461573064m_-2079622441729276347h5"><br>
<div class="gmail_quote">2017-04-24 16:52 GMT+02:00 Fosco Ventura <span dir="ltr">
<<a href="mailto:foscone@gmail.com" target="_blank">foscone@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Simone,<br>
I am trying to use geonode-project as base template. For single site it works fine but I do not understand how to set it as a multisite. In geonode-project template there are not all files mentioned in the geosites guides.
<div>For example in this Eugenio's comment <a href="https://github.com/GeoNode/geonode/commit/740af85ab5654cee3d27b6611b74c39687a4187c#commitcomment-21731291" target="_blank">https://github.com/Geo<wbr>Node/geonode/commit/740af85ab5<wbr>654cee3d27b6611b74c39687a4187c<wbr>#commitcomment-21731291</a>
 I need site_template in contrib directory but in geonode-project template there isn't.</div>
<div>How can I do?</div>
<div>Thanks.</div>
<div>Fosco</div>
<div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-04-21 12:41 GMT+02:00 Simone Dalmasso <span dir="ltr">
<<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">No don't need to checkout another geonode or delete the settings in etc. I suggest you to start from here <a href="https://github.com/GeoNode/geonode-project" target="_blank">https://github.com/GeoNod<wbr>e/geonode-project</a> and once you have
 it set up then you can create your own settings with geosites enabled and make your own geosites in it.</div>
<div class="gmail_extra">
<div>
<div class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553h5"><br>
<div class="gmail_quote">2017-04-21 12:31 GMT+02:00 Fosco Ventura <span dir="ltr">
<<a href="mailto:foscone@gmail.com" target="_blank">foscone@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Ok, I have installed geonode 2.6 like quick installation tells, then I deleted /etc/geonode to replace it with
<i>git clone <a href="https://github.com/GeoNode/geonode" target="_blank">https://github.com/GeoNo<wbr>de/geonode</a></i>, is it right?
<div>I have duplicated /geonode/geonode/contrib/geosi<wbr>tes/site_template whit a new name.</div>
<div><br>
<div>Now I would like to have:</div>
<div>- <a href="http://www.example.com/site1" target="_blank">www.example.com/site1</a></div>
<div>- <a href="http://www.example.com/site2" target="_blank">www.example.com/site2</a></div>
<div>so I go to <a href="http://www.example.com/admin/sites/site/" target="_blank">
www.example.com/admin/sites/si<wbr>te/</a> and add site1 and site2</div>
<div><br>
</div>
<div>Now have I to edit /etc/apache2/sites-enabled/geo<wbr>node.conf? In which way?</div>
</div>
<div><br>
</div>
<div>I did:</div>
<div>WSGIDaemonProcess new_name_site_template user=ww<wbr>w-data threads=15 processes=2</div>
<div><VirtualHost *:80><br>
</div>
<div>   ...</div>
<div>   DocumentRoot /etc/geonode/geonode/contrib/g<wbr>eosites/<br>
</div>
<div>   ...</div>
<div>   WSGIProcessGroup fosco_geosites</div>
<div>   WSGIScriptAlias / /etc/geonode/geonode/contrib/g<wbr>eosites/new_name_site_template<wbr>/wsgi.py</div>
<div>...</div>
<div>but doesn't work.</div>
<div>Where am I wrong?</div>
<div>Thanks.</div>
<div>Fosco</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-04-19 17:43 GMT+02:00 Simone Dalmasso <span dir="ltr">
<<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>no you don't need a development installation, you can achieve the same using a standard apt geonode installation or a geonode-project.</div>
<div><br>
</div>
<div>Unfortunately the documentation for geosites is a bit outdated but you can make it work even without any automatic script. I suggest you to take a look at the geonode repo as geosites is now part of it as a contrib app (optional and less maintained) <a href="https://github.com/GeoNode/geonode/tree/2.6.x/geonode/contrib/geosites" target="_blank">https://github.com<wbr>/GeoNode/geonode/tree/2.6.x/ge<wbr>onode/contrib/geosites</a> and
 the geonode homepage and docs for the installation <a href="http://www.geonode.org" target="_blank">
http://www.geonode.org</a>.</div>
<div><br>
</div>
<div>In order to use geosites you will have to understand the basics of django projects, nothing too tricky though.</div>
<div>Recently Eugenio made some interesting comments on the geosites doc that could help you, see here <a href="https://github.com/GeoNode/geonode/commit/740af85ab5654cee3d27b6611b74c39687a4187c#commitcomment-21731038" target="_blank">https://github.com/GeoNod<wbr>e/geonode/commit/740af85ab5654<wbr>cee3d27b6611b74c39687a4187c#co<wbr>mmitcomment-21731038</a></div>
<div><br>
</div>
<div>hope this helps</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656m_7937620540417923145h5">
2017-04-19 17:23 GMT+02:00 Fosco Ventura <span dir="ltr"><<a href="mailto:foscone@gmail.com" target="_blank">foscone@gmail.com</a>></span>:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656m_7937620540417923145h5">
<div dir="ltr">Hi, I'm trying to install geosites.
<div>I followed this guide for ubuntu development installation: <a href="https://github.com/simod/geonode#ubuntu" target="_blank">https://github.c<wbr>om/simod/geonode#ubuntu</a></div>
<div>and then this guide for geosites: <a href="https://github.com/terranodo/geosites-project/blob/master/GEOSITES-README.md" target="_blank">https://github.com/t<wbr>erranodo/geosites-project/blob<wbr>/master/GEOSITES-README.md</a></div>
<div><br>
</div>
<div>I realized that to have geosites I have to do development installation, is it true?</div>
<div>
<div><br>
<div>When I give <i>bash ./setup.sh <a href="http://example.org" target="_blank">
example.org</a></i> I have this error:<br>
<i>Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8XOXyi/Paver</i><i>/</i></div>
<div><br>
</div>
<div>I looked for directory pip-build-8XOXyi but doesn't exist.</div>
<div><br>
</div>
<div>Is this command the same of geonode-updateip for standard installation? Can I give <i>bash ./setup.sh IP</i> instead of
<a href="http://example.org" target="_blank">example.org</a>?</div>
<div>Thanks</div>
<span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656m_7937620540417923145m_4114259141924939931m_-4442956414137395093HOEnZb"><font color="#888888">
<div>Fosco<br>
<div>
<div><br>
</div>
<div>-- <br>
<div class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656m_7937620540417923145m_4114259141924939931m_-4442956414137395093m_-5994291078563671346gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Fosco
<div><a href="http://studiotypo.it/" style="font-size:12.8px" target="_blank">http://studiotypo.it/</a><br>
</div>
</div>
<div><a href="http://www.studiotypo.it/fosco/" style="font-size:12.8px" target="_blank">http://www.studiotypo.it/fosco<wbr>/</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
</div>
</div>
<br>
</div>
</div>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656m_7937620540417923145HOEnZb"><font color="#888888"><br>
<br clear="all">
<span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656HOEnZb"><font color="#888888">
<div><br>
</div>
-- <br>
<div class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656m_7937620540417923145m_4114259141924939931m_-4442956414137395093gmail_signature">
Simone </div>
</font></span></font></span></div>
</div>
<span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656HOEnZb"><font color="#888888"></font></span></blockquote>
</div>
<span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656HOEnZb"><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656m_7937620540417923145gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Fosco
<div><a href="http://studiotypo.it/" style="font-size:12.8000001907349px" target="_blank">http://studiotypo.it/</a><br>
</div>
</div>
<div><a href="http://www.studiotypo.it/fosco/" style="font-size:12.8000001907349px" target="_blank">http://www.studiotypo.it/fosco<wbr>/</a><br>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981HOEnZb"><font color="#888888">
<div><br>
</div>
</font></span></div>
</div>
<span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981HOEnZb"><font color="#888888"><span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553HOEnZb"><font color="#888888">--
<br>
<div class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553m_8699361898216183656gmail_signature">
Simone </div>
</font></span></font></span></div>
<span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981HOEnZb"><font color="#888888"></font></span></blockquote>
</div>
<span class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981HOEnZb"><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981m_5278066041880716553gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Fosco
<div><a href="http://studiotypo.it/" style="font-size:12.8000001907349px" target="_blank">http://studiotypo.it/</a><br>
</div>
</div>
<div><a href="http://www.studiotypo.it/fosco/" style="font-size:12.8000001907349px" target="_blank">http://www.studiotypo.it/fosco<wbr>/</a><br>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<span class="m_-1710101441461573064HOEnZb"><font color="#888888">
<div><br>
</div>
</font></span></div>
</div>
<span class="m_-1710101441461573064HOEnZb"><font color="#888888"><span class="m_-1710101441461573064m_-2079622441729276347HOEnZb"><font color="#888888">--
<br>
<div class="m_-1710101441461573064m_-2079622441729276347m_2305285223244634981gmail_signature">Simone </div>
</font></span></font></span></div>
<span class="m_-1710101441461573064HOEnZb"><font color="#888888"></font></span></blockquote>
</div>
<span class="m_-1710101441461573064HOEnZb"><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-1710101441461573064m_-2079622441729276347gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Fosco
<div><a href="http://studiotypo.it/" style="font-size:12.8000001907349px" target="_blank">http://studiotypo.it/</a><br>
</div>
</div>
<div><a href="http://www.studiotypo.it/fosco/" style="font-size:12.8000001907349px" target="_blank">http://www.studiotypo.it/fosco<wbr>/</a><br>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-1710101441461573064gmail_signature">Simone </div>
</div>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Fosco<div><a href="http://studiotypo.it/" style="font-size:12.8000001907349px" target="_blank">http://studiotypo.it/</a><br></div></div><div><a href="http://www.studiotypo.it/fosco/" style="font-size:12.8000001907349px" target="_blank">http://www.studiotypo.it/fosco/</a><br></div></div></div></div></div>
</div>