<div dir="ltr">Hi Charles,<div><br></div><div>here a few clarifications. The geonode_project template as per doc should be used when you install geonode using apt-get (it's also possible to use it with geonode in dev mode or in manual installation with some more tricks). If you install geonode 2.4 (ppa/testing) then you have to use the branch 2.4 of the geonode_project. $ <span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6000003814697px;line-height:1.45;background-color:rgb(247,247,247)">django-admin startproject my_geonode --template=<a href="https://github.com/GeoNode/geonode-project/archive/2.4.zip">https://github.com/GeoNode/geonode-project/archive/2.4.zip</a> -epy,rst. </span><span style="color:rgb(51,51,51);font-size:13.6000003814697px;line-height:1.45;background-color:rgb(247,247,247)"><font face="arial, helvetica, sans-serif">We will migrate this branch to master when geonode 2.4 will be released as final.</font></span></div><div><br></div><div><font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:13.6000003814697px;line-height:19.7199993133545px;background-color:rgb(247,247,247)">The project should not be installed in /var/www because that is the apache public directory and the /geonode folder that you see in there is for public files such as thumbnails. So use the geonode project in any directory you want but /var/www.</span></font></div><div><font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:13.6000003814697px;line-height:19.7199993133545px;background-color:rgb(247,247,247)"><br></span></font></div><div><font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:13.6000003814697px;line-height:19.7199993133545px;background-color:rgb(247,247,247)">The geonode_project will read the system geonode settings so you won't have to define those parameters.</span></font></div><div><font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:13.6000003814697px;line-height:19.7199993133545px;background-color:rgb(247,247,247)">If you follow the guide </span><span style="font-size:13.6000003814697px;line-height:19.7199993133545px"><a href="https://github.com/GeoNode/geonode-project/tree/2.4">https://github.com/GeoNode/geonode-project/tree/2.4</a> as it is, then it should work fine. And you can edit/customize the geonode settings using the settings.py file that you fine in the geonode_project because the geonode settings and the geonode_project settings are linked together.</span></font></div><div><font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:13.6000003814697px;line-height:19.7199993133545px"><br></span></font></div><div><font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:13.6000003814697px;line-height:19.7199993133545px">Hope this helps.</span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-12 20:18 GMT+02:00 Charles Cossé <span dir="ltr"><<a href="mailto:ccosse@gmail.com" target="_blank">ccosse@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>When I installed ppa:geonode/testing it created /var/www/geonode, and /etc/apache2/sites-available/geonode.conf corectly refers to the layout of the /var/www/geonode directory.<br><br><br></div><div>When I go to /var/www and do:<br>    $ django-admin startproject my_geonode --template=<a href="https://github.com/GeoNode/geonode-project/archive/master.zip" target="_blank">https://github.com/GeoNode/geonode-project/archive/master.zip</a> -epy,rst <br>    $ sudo pip install -e my_geonode<br></div><div><br>... it creates /var/www/my_geonode, which has the familiar dango layout, but I cannot get it to work.  I am particularly confused by the difference in the layouts of the two directories, /var/www/geonode and /var/www/my_geonode.  I changed /etc/apache2/sites-available/geonode.conf to correspond to the familiar django layout installed by geonode-project, and proceeded to fight with it a little ...<br><br>Initially it threw up some real errors, which I began fixing (geonode-project installed settings.py with undefined STATICFILES_DIRS, TEMPLATE_DIRS, SECRET_KEY, ANONYMOUS_USER_ID) ... but after defining those, now the errors are auth-related and I think it's time to ask for more help.   <br><br></div><div>Here is the latest, ultimate error from the apache2/error.log:<br>........<br>[Tue May 12 12:47:41.126096 2015] [:error] [pid 3536:tid 140473235220224] [remote <a href="http://70.210.228.122:40065" target="_blank">70.210.228.122:40065</a>]   File "/usr/lib/python2.7/dist-packages/tastypie/authentication.py", line 13, in <module><br>[Tue May 12 12:47:41.126141 2015] [:error] [pid 3536:tid 140473235220224] [remote <a href="http://70.210.228.122:40065" target="_blank">70.210.228.122:40065</a>]     from tastypie.compat import User, username_field<br>[Tue May 12 12:47:41.126201 2015] [:error] [pid 3536:tid 140473235220224] [remote <a href="http://70.210.228.122:40065" target="_blank">70.210.228.122:40065</a>] ImportError: cannot import name username_field<br>...<br></div><div><br></div><div>Thank you in advance!<br></div><div>Charles<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 11, 2015 at 1:22 PM, Ariel Nunez <span dir="ltr"><<a href="mailto:ingenieroariel@gmail.com" target="_blank">ingenieroariel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>14.04 and 2.4b25<span><font color="#888888"><br><br></font></span></div><span><font color="#888888">-a<br></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, May 11, 2015 at 10:53 AM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">geonode 2.4 is the way to go :)</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2015-05-11 17:32 GMT+02:00 Charles Cossé <span dir="ltr"><<a href="mailto:ccosse@gmail.com" target="_blank">ccosse@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Sorry, I forgot to ask one more question.  I have 2 servers:<br><ol><li>Ubuntu 12.04 w/ 2.4.dev20150428072710</li><li>Ubuntu 14.04 w/ 2.4b25  (dev?)<br></li></ol><p>I need to reclaim (cancel) one of these servers ... I'm not sure if the 14.04 installation was a "developer's installation" or not?  The only reason I thought that it might be is just for the fact that it is still in development, so what other type install would there be?  But it doesn't use any of the virtual environment stuff like the 12.04 instance ... so I don't know ...which should I keep for developing the above? <br></p></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 11, 2015 at 8:52 AM, Charles Cossé <span dir="ltr"><<a href="mailto:ccosse@gmail.com" target="_blank">ccosse@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><span>On Mon, May 11, 2015 at 8:13 AM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><div> </div></span><div>Well is your repo... :)</div></div></div></div></blockquote><div><br></div></span><div>Okay, just checking in case use of personal repo could discourage collaboration or something ... idk <br></div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>To link your app with GeoNode I suggest you to take a look at <a href="https://github.com/GeoNode/geonode-project" target="_blank">https://github.com/GeoNode/geonode-project</a></div></div></div></div></blockquote><div><br></div></span><div class="gmail_extra">Only that is for a website template (django-project), and I'm talking about a web-app template (django-app) ... but yes, otherwise there should be much guidance within the code ...<br><br><br><br><span></span><br></div></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div></div><span class="HOEnZb"><font color="#888888"><span><font color="#888888">-- <br><div>Simone </div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
<br></font></span></div></div><span class="HOEnZb"><font color="#888888"><span>_______________________________________________<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/cgi-bin/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></span></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>