Without the '--settings=geonode.settings' the "django-admin.py help" command
will not list many commands.  'createsuperuser' is one of the ones that
won't show up.

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

On Mon, Oct 3, 2011 at 10:14 AM, Greg Corradini <[email protected]>wrote:

> Hey David,
> I've tried the things you recommend but I'm still getting the error
> "Unknown command 'createsuperuser' ". I'm wondering if I should try
> using the GeoNode packages that I've seen talked about on this mailing
> list as a optional install.
>
> Here's the details on my GeoNode install:
>
> root@mochi:/home/GIT/geonode# source bin/activate
>
> (geonode)root@mochi:/home/GIT/geonode# which django-admin.py
> /home/GIT/geonode/bin/django-admin.py
>
> (geonode)root@mochi:/home/GIT/geonode# pip install django==1.2.0
> Requirement already satisfied (use --upgrade to upgrade):
> django==1.2.0 in ./lib/python2.6/site-packages
>
> (geonode)root@mochi:/home/GIT/geonode# django-admin.py
> ...
>
> Type 'django-admin.py help <subcommand>' for help on a specific subcommand.
>
> Available subcommands:
>  cleanup
>  compilemessages
>  createcachetable
>  dbshell
>  diffsettings
>  dumpdata
>  flush
> ...
>
> Thanks
> Greg
>
> On Mon, Oct 3, 2011 at 5:50 AM, David Winslow <[email protected]>
> wrote:
> > What's the error message that you get?
> > Also, do you have django installed in the system-wide site packages
> > directory?  If so the django-admin script may be on your PATH ahead of
> the
> > one installed in GeoNode (or GeoNode might not have bothered to install
> one,
> > I forget.) The system-wide script won't see packages installed in the
> > virtualenv (which is basically the point of virtualenv.)
> > You can check with "which django-admin.py"; that works inside or outside
> the
> > virtualenv.
> > If you don't have django installed in the virtualenv, you can install it
> > with "pip -U django==1.2.0" (make sure to activate the virtualenv first)
> > If you have Django installed twice and the wrong one is being used, you
> can
> > specify the full path to the script, like <venv>/bin/django-admin.py
> > It might be something different so please let us know if that helps.
> > --
> > David Winslow
> > OpenGeo - http://opengeo.org/
> > On Sun, Oct 2, 2011 at 5:24 PM, Greg Corradini <[email protected]>
> > wrote:
> >>
> >> yep, i've tried using the command '$ geonode createsuperuser' both in
> venv
> >> and outside...
> >>
> >> both return 'geonode command not found'
> >>
> >> -mobile I/O, forgive mistakes
> >>
> >> On Oct 2, 2011 10:36 AM, "Joe Larson" <[email protected]> wrote:
> >>
> >> did you try running `geonode createsuperuser` first?
> >>
> >> ~joe
> >>
> >> On Oct 2, 2011, at 10:30 AM, Greg Corradini wrote:
> >>
> >> > Hello,
> >> > I'm following the instructions at
> >> > h...
> >
>
>
>
> --
> Greg
>

Reply via email to