librelist archives

« back to archive

django-admin in wrong place

django-admin in wrong place

From:
Gavin Fleming
Date:
2011-02-22 @ 15:37
Hi

I'm struggling to deploy GeoNode 1.0 on Ubuntu 10.04 on a domain that's also
hosting other sites, including another Django site.

More of a concern for now is that I can't run the last deployment step

# /var/www/geonode/wsgi/geonode/bin/django-admin.py syncdb
--settings=geonode.settings

It seems like something bootstrap.py did something wrong (although it
returned no errors and finished Ok). The only django-admin.py is:

/var/www/geonode/wsgi/geonode/build/Django/django/bin/django-admin.py and
it's not executable.

Any tips?

As a test I deployed GeoNode on my Ubuntu 10.10 notebook and it's working
beautifully.
There's a small typo in http://docs.geonode.org/1.0/deploy/ubuntu.html
unzip GeoNode-1.0-RC1/geonode-client/ -d /var/www/geonode/htdocs/
should be
unzip GeoNode-1.0/geonode-client.zip -d /var/www/geonode/htdocs/
thanks
-- 
Gavin

Re: [geonode] django-admin in wrong place

From:
David Winslow
Date:
2011-02-24 @ 14:52
This sounds like a partially completed django installation (the Django
source files were unpacked into your "build" dir, but the wrapper scripts
are not your virtualenv's bin/ directory where they should be).  Did the
bootstrap script complete sucessfully?  If you're not sure, it should be
safe to re-run it (python bootstrap.py --clear).

If the bootstrap script runs without error, I am not sure what the problem
might be.  A workaround in that case may be to install Django into the
virutalenv with "pip install Django".

--
David Winslow
OpenGeo - http://opengeo.org/

On Tue, Feb 22, 2011 at 10:37 AM, Gavin Fleming <gavinjfleming@gmail.com>wrote:

> Hi
>
> I'm struggling to deploy GeoNode 1.0 on Ubuntu 10.04 on a domain that's
> also hosting other sites, including another Django site.
>
> More of a concern for now is that I can't run the last deployment step
>
> # /var/www/geonode/wsgi/geonode/bin/django-admin.py syncdb 
--settings=geonode.settings
>
> It seems like something bootstrap.py did something wrong (although it
> returned no errors and finished Ok). The only django-admin.py is:
>
> /var/www/geonode/wsgi/geonode/build/Django/django/bin/django-admin.py and
> it's not executable.
>
> Any tips?
>
> As a test I deployed GeoNode on my Ubuntu 10.10 notebook and it's working
> beautifully.
> There's a small typo in http://docs.geonode.org/1.0/deploy/ubuntu.html
> unzip GeoNode-1.0-RC1/geonode-client/ -d /var/www/geonode/htdocs/
> should be
> unzip GeoNode-1.0/geonode-client.zip -d /var/www/geonode/htdocs/
> thanks
> --
> Gavin
>
>
>
>
>
>

Re: [geonode] django-admin in wrong place

From:
Satyajit Sarangi
Date:
2011-02-24 @ 15:16
I am trying to implement jquery on the map search but failing to do so . Any
hints how to go about it ?
-- 
*Satyajit Sarangi*