<div dir="ltr">Hi, <div><br></div><div>yes those steps are for when you installed geonode using apt-get. They can be issued as they are and the geonode theme will be installed systemwide as geonode is and you need to have geonode installed before doing that.</div><div><br></div><div>You don't have to use django-admin except for the template creation. The commands as they are using manage.py work fine. If you installed geonode manually then it depends on your configuration but still is very similar. </div><div>The geonode command is not used anymore to do collectstatic because the manage.py will take care of it.</div><div><br><div>2016-05-11 12:57 GMT+02:00 Benjamin Ducke <<a href="mailto:benducke@fastmail.fm" target="_blank">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>> <a href="http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/setup_admin.html#setup-admin" 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" target="_blank">fastmail.fm</a><br>> _______________________________________________<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/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br><br><br><br><br>--<br>Simone <br><div class="gmail_extra">
</div></div></div></div>