<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Ok so I fixed the problem myself... looks like it had something to do with where I have put my custom project.</p>
<p>I've put my project under /var/www/geonode and now it works.</p>
<p> </p>
<div> </div>
<p>Le 2016-08-24 10:49, Kevin Côté a écrit :</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>Hi Simone,</p>
<p>I used 2.4 instead of master but I get the same error when doing the collectstatic command...</p>
<p> </p>
<div> </div>
<p>Le 2016-08-24 10:34, Simone Dalmasso a écrit :</p>
<blockquote style="padding-left: 5px; border-left: #1010ff 2px solid; margin-left: 5px;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8 -->
<div dir="ltr">Hi Kevin,
<div> </div>
<div>try using the 2.4 branch of the project</div>
<div> </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 style="font-family: Verdana,Geneva,sans-serif; font-size: 13.3333px;" href="https://github.com/GeoNode/geonode-project/archive/2.4.zip">https://github.com/GeoNode/geonode-project/archive/2.4.zip</a><span style="font-family: Verdana,Geneva,sans-serif; font-size: 13.3333px;"> -epy,rst"</span></div>
</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">2016-08-24 16:21 GMT+02:00 Kevin Côté <span><<a href="mailto:Kevin.Cote2@usherbrooke.ca">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;"><span style="text-decoration: underline;"></span>
<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/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=<a href="https://github.com/GeoNode/geonode-project/archive/master.zip">https://github.com/GeoNode/geonode-project/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 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">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 />
<blockquote 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 /><a href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a></blockquote>
</div>
</div>
</blockquote>
</div>
<br />_______________________________________________<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">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br /><br /></blockquote>
</div>
<br /><br clear="all" />
<div> </div>
-- <br />
<div class="gmail_signature">Simone </div>
</div>
</blockquote>
<!-- html ignored --><br />
<pre>_______________________________________________
geonode-users mailing list
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><span style="font-family: Verdana, Geneva, sans-serif;"><span style="font-size: 13.3333px; white-space: normal;">
</span></span></pre>
</blockquote>
</body></html>