<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Tom,<div><br></div><div>put in place geonode-project in your home is just an example but it is not a rule. You can move it wherever you prefer. I would suggest to read and follow carefully the workshop for developers [1] done at the past foss4g which demonstrates the right path to customize GeoNode.</div><div><br></div><div>Hope this helps</div><div><br></div><div>[1] <a href="http://geonode.org/dev-workshop/#/">http://geonode.org/dev-workshop/#/</a></div><div> <br><div><div>Il giorno 16/ott/2017, alle ore 20:02, Tom Pyatt <<a href="mailto:tom.pyatt.nz@gmail.com">tom.pyatt.nz@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:Consolas;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="WordSection1"><p class="MsoNormal">Francesco,<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">That step is mentioned as an option on the geonode project page under the Usage section. The purpose is to avoid setting up additional permissions on the newly created directories.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><i><span style="font-family:"Segoe UI",sans-serif;color:#24292E;background:white">“To avoid having to grant apache permissions (i.e. www-data user and group) to your home dir where you likely setup the geonode-project; you may want to instead copy the wsgi.py file next to geonode.wsgi and replace the file name instead of the entire path.”</span></i><i><o:p></o:p></i></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Tom<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Francesco Bartoli [<a href="mailto:xbartolone@gmail.com">mailto:xbartolone@gmail.com</a>] <br><b>Sent:</b> Monday, October 16, 2017 8:49 PM<br><b>To:</b> Tom Pyatt <<a href="mailto:tom.pyatt.nz@gmail.com">tom.pyatt.nz@gmail.com</a>><br><b>Cc:</b> <a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br><b>Subject:</b> Re: [GeoNode-devel] Customize GeoNode<o:p></o:p></p></div></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Why you are doing this step?<o:p></o:p></p><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.5pt">$ cp /path/to/my_geonode/my_geonode/wsgi.py /var/www/geonode/wsgi/wsgi.py</span><o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.5pt">Where did you find it in the documentation?</span><o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p><div><div><p class="MsoNormal">Il giorno 16/ott/2017, alle ore 03:32, Tom Pyatt <<a href="mailto:tom.pyatt.nz@gmail.com">tom.pyatt.nz@gmail.com</a>> ha scritto:<o:p></o:p></p></div><p class="MsoNormal"><br><br><o:p></o:p></p><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><p class="MsoNormal">I have attempted the instructions you referenced and they are not resulting in a workable GeoNode. Perhaps the documentation has not been fully updated to work with the GeoNode 2.6.3 version. There seem to be a few variations of those docs and all have failed for me when attempting to use GeoNode 2.6.3. <o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">After a bit of trial and error I was successful using the more simplified approach outlined on the geonode-project page ( <a href="https://github.com/GeoNode/geonode-project/">https://github.com/GeoNode/geonode-project/</a> ).<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">My steps were this.<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">Install geonode 2.6.3 with:<o:p></o:p></p><p class="MsoNormal">$ sudo add-apt-repository ppa:geonode/stable<o:p></o:p></p><p class="MsoNormal">$ sudo apt-get update<o:p></o:p></p><p class="MsoNormal">$ sudo apt-get install geonode<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">Create a new template based on the geonode example project.:<o:p></o:p></p><p class="MsoNormal">$ django-admin startproject my_geonode --template=<a href="https://github.com/GeoNode/geonode-project/archive/2.6.zip">https://github.com/GeoNode/geonode-project/archive/2.6.zip</a> -epy,rst<o:p></o:p></p><p class="MsoNormal">$ sudo pip install -e my_geonode<o:p></o:p></p><p class="MsoNormal">(Ignored the local_settings.py usage as it is not required)<o:p></o:p></p><p class="MsoNormal">$ cp /path/to/my_geonode/my_geonode/wsgi.py /var/www/geonode/wsgi/wsgi.py<o:p></o:p></p><p class="MsoNormal">Edit the file /etc/apache2/sites-available/geonode as per instructions<o:p></o:p></p><p class="MsoNormal">$ sudo service apache2 restart<o:p></o:p></p><p class="MsoNormal">Edit the templates in my_geonode/templates<o:p></o:p></p><p class="MsoNormal">$ python manage.py collectstatic<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">Tom<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Francesco Bartoli [<a href="mailto:xbartolone@gmail.com">mailto:xbartolone@gmail.com</a>] <br><b>Sent:</b> Friday, October 13, 2017 7:39 PM<br><b>To:</b> Tom Pyatt <<a href="mailto:tom.pyatt.nz@gmail.com">tom.pyatt.nz@gmail.com</a>><br><b>Cc:</b> <a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br><b>Subject:</b> Re: [GeoNode-devel] Customize GeoNode<o:p></o:p></p></div></div><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">The workshop done at last foss4g probably can help you as it covers customization extensively. The right place in the documentation is <a href="http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/index.html?#customize-the-look-and-feel">http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/index.html?#customize-the-look-and-feel</a> though.<o:p></o:p></p><div><p class="MsoNormal"> <o:p></o:p></p></div><div><p class="MsoNormal">Hope this helps<o:p></o:p></p></div><div><p class="MsoNormal"> <o:p></o:p></p></div><div><p class="MsoNormal">Francesco<o:p></o:p></p></div><div><p class="MsoNormal"> <o:p></o:p></p><div><div><p class="MsoNormal">Il giorno 13/ott/2017, alle ore 06:26, Tom Pyatt <<a href="mailto:tom.pyatt.nz@gmail.com">tom.pyatt.nz@gmail.com</a>> ha scritto:<o:p></o:p></p></div><p class="MsoNormal"><br><br><br><o:p></o:p></p><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal">I am new to this list so these questions may have been asked already.<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">I can install GeoNode 2.6.3 using the instructions given in the Developers Workshop, although there are a few errors in the instructions. I then wish to customize the look. The instructions in the workshop do not seem to work and are very different to the instructions on the geonode-project page. It’s all a bit confusing. <o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">The workshop manual contains this “disable_local_repo.sh”. This does not exist and there seems to be no reference to it anywhere else.<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">But before I start posting all the errors I get I was hoping there might a working process that I have not seen yet.<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">Tom <o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p></div><p class="MsoNormal">_______________________________________________<br>geonode-devel mailing list<br><a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel">https://lists.osgeo.org/mailman/listinfo/geonode-devel</a><o:p></o:p></p></blockquote></div><p class="MsoNormal"> <o:p></o:p></p></div></blockquote></div><p class="MsoNormal"><o:p> </o:p></p></div></div></div></blockquote></div><br></div></body></html>