<div dir="ltr"><div>Sorry I don't understand which 'geonode' command are you referring to.</div>If you refer to geonode syncdb from the geonode quick setup then you have to issue it before installing the theme.<div><br></div><div>after it you can still issue all the commands but using python manage.py.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-11 13:37 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">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 creation. The<br>
> commands as they are using manage.py work fine. If you installed geonode<br>
> manually then it depends on your configuration but still is very similar.<br>
> The geonode command is not used anymore to do collectstatic 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>
>><br>
>> Dear GeoNoders,<br>
>><br>
>> I am currently setting up my first GeoNode installation, and 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>
> <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' (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 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 far so<br>
>> good. However, when just calling 'geonode' without any arguments, 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 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 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>
>> 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>><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>
<span class="HOEnZb"><font color="#888888">><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>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>