<div dir="ltr">Ha! I see, sorry.<div><br></div><div>There's definitely a typo there.</div><div>Assuming you created the my_geonode template in /home/geonode the steps should be:</div><div><br></div>1 $ cd /home/geonode/my_geonode<br>2 $ sudo pip install -e .<br>3 $ python manage.py collectstatic<br>4 $ python manage.py syncdb<br>5 $ sudo service apache2 restart<div><span style="color:rgb(80,0,80);font-size:12.8px"><br></span></div>I'm going to fix the docs. Sorry to not have read carefully it before. And thanks for reporting<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-11 14:14 GMT+02:00 Benjamin Ducke <span dir="ltr"><<a href="mailto:benducke@fastmail.fm" target="_blank">benducke@fastmail.fm</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 11/05/16 13:51, Simone Dalmasso wrote:<br>
> Sorry I don't understand which 'geonode' command are you referring to.<br>
> If you refer to geonode syncdb from the geonode quick setup then you<br>
> have to issue it before installing the theme.<br>
><br>
<br>
</span>I am talking about step 4 in the sequence<br>
found here:<br>
<br>
<a href="http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/setup_admin.html#setup-admin" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/setup_admin.html#setup-admin</a><br>
<br>
This is what the official instructions tell<br>
me to do:<br>
<span class=""><br>
1 $ cd /home/geonode/my_geonode<br>
2 $ python manage.py collectstatic<br>
3 $ python manage.py syncdb<br>
4 $ /home/geonode/geonode<br>
5 $ sudo pip install -e .<br>
6 $ sudo service apache2 restart<br>
<br>
</span>As you can see: in step 4 I am supposed to run<br>
the command 'geonode' without any arguments.<br>
On a Ubuntu install from packages, this 'geonode'<br>
script is located in '/usr/sbin', and when running<br>
it without arguments, it will throw an error<br>
message.<br>
<span class=""><br>
> after it you can still issue all the commands but using python manage.py.<br>
<br>
</span>Yes, that works fine.<br>
<br>
Cheers,<br>
<br>
Ben<br>
<span class=""><br>
><br>
><br>
><br>
> 2016-05-11 13:37 GMT+02:00 Benjamin Ducke <<a href="mailto:benducke@fastmail.fm">benducke@fastmail.fm</a><br>
</span>> <mailto:<a href="mailto:benducke@fastmail.fm">benducke@fastmail.fm</a>>>:<br>
<div><div class="h5">><br>
> Hi Simone --<br>
><br>
> On 11/05/16 13:28, Simone Dalmasso wrote:<br>
> > Hi,<br>
> ><br>
> > yes those steps are for when you installed geonode using apt-get.<br>
><br>
> Right, that's what I did.<br>
><br>
> > They can be issued as they are<br>
><br>
> But then 'geonode' will throw an error<br>
> message, as I described. I find that<br>
> a little disconcerting.<br>
><br>
> > and the geonode theme will be installed<br>
> > systemwide as geonode is and you need to have geonode installed before<br>
> > doing that.<br>
> ><br>
> > You don't have to use django-admin except for the template<br>
> creation. The<br>
> > commands as they are using manage.py work fine. If you installed<br>
> geonode<br>
> > manually then it depends on your configuration but still is very<br>
> similar.<br>
> > The geonode command is not used anymore to do collectstatic<br>
> because the<br>
> > manage.py will take care of it.<br>
><br>
> So do I understand correctly, that I can just<br>
> skip running 'geonode'?<br>
><br>
> Then maybe that step should be removed from<br>
> the instructions on the Web?<br>
><br>
> Cheers and Thanks for your quick reply!<br>
><br>
> Ben<br>
><br>
> ><br>
> > 2016-05-11 12:57 GMT+02:00 Benjamin Ducke <<a href="mailto:benducke@fastmail.fm">benducke@fastmail.fm</a><br>
> <mailto:<a href="mailto:benducke@fastmail.fm">benducke@fastmail.fm</a>><br>
</div></div>> > <mailto:<a href="mailto:benducke@fastmail.fm">benducke@fastmail.fm</a> <mailto:<a href="mailto:benducke@fastmail.fm">benducke@fastmail.fm</a>>>>:<br>
<div><div class="h5">> >><br>
> >> Dear GeoNoders,<br>
> >><br>
> >> I am currently setting up my first GeoNode installation, and<br>
> trying to<br>
> >> follow<br>
> >> the official documentation on customization and theming.<br>
> >><br>
> >> I would appreciate some help/feedback with the 'geonode' command.<br>
> >> My OS is Ubuntu 14.04 and I have installed GeoNode 2.4. from the<br>
> >> official<br>
> >> packages.<br>
> >><br>
> >> On this page:<br>
> >><br>
> >><br>
> ><br>
> <a href="http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/setup_admin.html#setup-admin" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/setup_admin.html#setup-admin</a><br>
> >><br>
> >> There is a sequence of commands that includes a call to 'geonode'<br>
> (step<br>
> >> 4):<br>
> >><br>
> >> 1 $ cd /home/geonode/my_geonode<br>
> >> 2 $ python manage.py collectstatic<br>
> >> 3 $ python manage.py syncdb<br>
> >> 4 $ /home/geonode/geonode<br>
> >> 5 $ sudo pip install -e .<br>
> >> 6 $ sudo service apache2 restart<br>
> >><br>
> >> I am assuming that this refers to '/usr/sbin/geonode' when installed<br>
> >> from<br>
> >> the Ubuntu packages, correct? Said executable is a simple shell<br>
> script<br>
> >> wrapper for 'django-admin', which just determines whether to use<br>
> >> 'django-admin' or 'django-admin.py' (right choice for my OS). So<br>
> far so<br>
> >> good. However, when just calling 'geonode' without any arguments,<br>
> I get:<br>
> >><br>
> >> Unknown command: '--settings=geonode.settings'<br>
> >><br>
> >> Apparently, this is because the arguments placeholder '$@' in<br>
> >> '/usr/sbin/geonode'<br>
> >> stays empty in this case, but 'django-admin.py' really wants to<br>
> have the<br>
> >> name<br>
> >> of a subcommand.<br>
> >><br>
> >> So my question is: Did 'django-admin.py' use to have a default<br>
> >> subcommand in<br>
> >> the past, but no longer? Or are the instructions on the web page<br>
> above<br>
> >> incomplete?<br>
> >> Which django-admin subcommand should run in line 4 above?<br>
> >><br>
> >> Many thanks for any pointers,<br>
> >><br>
> >> Benjamin<br>
> >><br>
> >> --<br>
> >> Benjamin Ducke<br>
> >> {*} Geospatial Consultant<br>
> >> {*} GIS Developer<br>
> >><br>
</div></div>> >> benducke AT <a href="http://fastmail.fm" rel="noreferrer" target="_blank">fastmail.fm</a> <<a href="http://fastmail.fm" rel="noreferrer" target="_blank">http://fastmail.fm</a>> <<a href="http://fastmail.fm" rel="noreferrer" target="_blank">http://fastmail.fm</a>><br>
<span class="">> >> _______________________________________________<br>
> >> geonode-users mailing list<br>
> >> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
> <mailto:<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>><br>
</span>> <mailto:<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<div class="HOEnZb"><div class="h5">> <mailto:<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/mailman/listinfo/geonode-users</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Simone<br>
><br>
><br>
><br>
> --<br>
> Dr. Benjamin Ducke<br>
> {*} Geospatial Consultant<br>
> {*} GIS Developer<br>
><br>
> Spatial technology for the masses, not the classes:<br>
> experience free and open source GIS at <a href="http://gvsigce.org" rel="noreferrer" target="_blank">http://gvsigce.org</a><br>
> _______________________________________________<br>
> geonode-users mailing list<br>
> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a> <mailto:<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/mailman/listinfo/geonode-users</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Simone<br>
<br>
<br>
<br>
--<br>
Dr. Benjamin Ducke<br>
{*} Geospatial Consultant<br>
{*} GIS Developer<br>
<br>
Spatial technology for the masses, not the classes:<br>
experience free and open source GIS at <a href="http://gvsigce.org" rel="noreferrer" target="_blank">http://gvsigce.org</a><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" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>