<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body 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/dist-packages/geonode/static'".</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=https://github.com/GeoNode/geonode-project/archive/master.zip -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"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->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">https://github.com/GeoNode/geonode-project/tree/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">Kevin.Cote2@USherbrooke.ca</a>> ha scritto:</div>
<br class="Apple-interchange-newline" />
<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>
_______________________________________________<br />geonode-users mailing list<br /><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br />http://lists.osgeo.org/mailman/listinfo/geonode-users</blockquote>
</div>
</div>
</blockquote>
</body></html>