<div dir="ltr">Hi Kevin,<div><br></div><div>try using the 2.4 branch of the project</div><div><br></div><div><span style="font-family:Verdana,Geneva,sans-serif;font-size:13.3333px">3. Enter the created directory and performed "django-admin.py startproject my_geonode --template=</span><a href="https://github.com/GeoNode/geonode-project/archive/2.4.zip" target="_blank" style="font-family:Verdana,Geneva,sans-serif;font-size:13.3333px">https://github.com/<wbr>GeoNode/geonode-project/<wbr>archive/2.4.zip</a><span style="font-family:Verdana,Geneva,sans-serif;font-size:13.3333px"> -epy,rst"</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-24 16:21 GMT+02:00 Kevin Côté <span dir="ltr"><<a href="mailto:Kevin.Cote2@usherbrooke.ca" target="_blank">Kevin.Cote2@usherbrooke.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi Francesco, </p>
<p>I run into an error when I try to do "python manage.py collectstatic". I get:</p>
<p>"OSError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/<wbr>dist-packages/geonode/static'"<wbr>.</p>
<p>I have proceeded this way:</p>
<p>1. Install Geonode from "sudo apt-get"</p>
<p>2. Create a directory in my /home folder to host the customized project.</p>
<p>3. Enter the created directory and performed "django-admin.py startproject my_geonode --template=<a href="https://github.com/GeoNode/geonode-project/archive/master.zip" target="_blank">https://github.com/<wbr>GeoNode/geonode-project/<wbr>archive/master.zip</a> -epy,rst"</p>
<p>4. "pip install -e ." in the project directory</p>
<p>5. "python manage.py syncdb"</p>
<p>6. changed the WSGIScriptAlias in the geonode.conf file to point to the wsgi.py in the project folder.</p>
<p>7. In the geonode.conf file, added a "DocumentRoot" line that points to my project folder and modified the <Directory> tag to point to the project folder as specified in the customize documentation.</p>
<p>8. Proceeded with "python manage.py collectatic" in the project folder. This gets me the error specified above.</p>
<p> </p>
<p>Do you know what I could have done wrong ?</p>
<p> </p>
<p>Thanks !</p>
<p> </p>
<div> </div>
<p>Le 2016-08-23 17:23, Francesco Bartoli a écrit :</p>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px">Hi Kevin,
<div> </div>
<div>absolutely, following the approach of geonode-project [1] you can customize even the systemwide geonode. Make sure to take the right branch corresponding to your version (I'm assuming you are on 2.4)</div>
<div> </div>
<div>Francesco</div>
<div> </div>
<div>[1] <a href="https://github.com/GeoNode/geonode-project/tree/master" target="_blank">https://github.com/<wbr>GeoNode/geonode-project/tree/<wbr>master</a></div>
<div> </div>
<div><br>
<div>
<div>Il giorno 23/ago/2016, alle ore 21:43, Kevin Côté <<a href="mailto:Kevin.Cote2@USherbrooke.ca" target="_blank">Kevin.Cote2@USherbrooke.ca</a>> ha scritto:</div>
<br>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px">
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi,</p>
<p>Just wanted to know if it is possible to customize the GeoNode plateform when it has been automatically installed using the "sudo apt-get" method. If so, is the procedure similar to the one explained in the docs ?</p>
<p>Thanks</p>
<div> </div>
<div> </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="http://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a></blockquote>
</div>
</div>
</blockquote>
</div>
<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">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/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>