<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Simone,<br><br>just tried the simple command:<br><br>python manage.py addsite mysite misite.mydomain<br><br>I got <br><br>Unknown command: 'addsite'<br>Type 'manage.py help' for usage.<br><br>Maybe I need to point to some specific folder...<br><br>E.<br><br><div><hr id="stopSpelling">From: simone.dalmasso@gmail.com<br>Date: Wed, 18 Nov 2015 14:45:30 +0100<br>Subject: Re: [GeoNode-users] projects managing in geonode<br>To: frippe12573@hotmail.com<br>CC: geonode-users@lists.osgeo.org<br><br><div dir="ltr">Hi Eugenio,<div><br></div><div>almost all correct but you should not modify the pre and post settings. Just the local_settings within each new__site folder.</div><div>Geoserver and the db are the normal geonode one, there's only one geoserver and one db for all the sites.</div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">2015-11-18 14:16 GMT+01:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">Hi Simone,<br><br>thank you again for your answer. I take a look at the documentation page, however I need some clarification.<br>Here below some doubts on how to organize the sites and hence how to configure geonode:<br>Have I to configure a principle site from which all the others I will create will depend?<br>or I can create many stand alone sites?<br><br>Currently I would spread three different sites.<br><br>I understand I should create three virtual host (in apache in my case) linked to three different folder specially prepared in <br>geonode/contrib/geocities. That's means in each virtualhost I need to refer the aliases, WSGIScript alias (wsgi.py) and static folders to each specific<br>sites folder. <br><br>To add the sities folder I have to run:<br><pre><code>python manage.py addsite site3 <a href="http://site3.example.com" target="_blank">site3.example.com</a><br><font face="Calibri,sans-serif"></font><font face="Calibri,sans-serif"><br>Within the site direc</font><font face="Calibri,sans-serif">tory, in local_setting.py, I have only to set up the SITEURL and of course I can customize the template.</font><br><font face="Calibri,sans-serif">Then I need to work on pre/post_settings doesn't it?</font><font face="Calibri,sans-serif"><br>Could you please explain me better how and where to set up geoserver and db?<br><br>Afterword to customize the look and feel of each site I need to work on templates dir in each site dir. <br><br>Thanks for any hints..<br><br>E.<br></font></code></pre><br><br><div><hr>From: <a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a><br>Date: Thu, 12 Nov 2015 15:57:29 +0100<br>Subject: Re: [GeoNode-users] projects managing in geonode<br>To: <a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a><br>CC: <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br><br><div dir="ltr">Hi Eugenio,<div>you may want to take a look at the geosites contrib app, docs are there as well <a href="https://github.com/GeoNode/geonode/tree/master/geonode/contrib/geosites" target="_blank">https://github.com/GeoNode/geonode/tree/master/geonode/contrib/geosites</a>.</div><div><br></div><div>For the templates I suggest you to look over the django guide.</div><div><br></div><div>ciao</div></div><div><br><div>2015-11-12 15:53 GMT+01:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">Hi all,<br><br>after a bit long time to adjust a version of geonode on my production server, now it's running.<br>However before using it I need to understand what is the best way, let's say even the philosophy, to manage different projects<br>which can possibly share information.<br><br>What I understand is that I can use a single istance of geonode for all my projects, but I need to create different portals which however<br>point to the same spatial db and geoserver for the spatial data (indicating different datastore in each local_setting.py but different db to store the django tables. Is that correct?<br><br>Over the tutorial: <a href="http://docs.geonode.org/en/latest/tutorials/admin/customize_admin/theme_admin.html#customize-theme-admin" target="_blank">http://docs.geonode.org/en/latest/tutorials/admin/customize_admin/theme_admin.html#customize-theme-admin</a><br>I wonder if there is some other guide or reference to understand more deeply how to work with the template.<br><br>Thank you<span><font color="#888888"><br><br>Eugenio <br>                                          </font></span></div></div>
<br>_______________________________________________<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="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="ecxHOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Simone </div>
</font></span></div></div>                                        </div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="ecxgmail_signature">Simone </div>
</div></div>                                          </div></body>
</html>