toaster-manual: Updated how manage.py createsuperuser command is run

The manage.py createsuperuser command must be run from the directory
containing the Toaster database, and not from the root of the checkout
directory, as the manual indicated. Amend the section to provide the
correct instructions.

(From yocto-docs rev: 41fa8a04c947169d971c5e1ecb4619249d1dc7b3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Belen Barros Pena 2016-02-18 08:03:39 -08:00 committed by Richard Purdie
parent c5b4f69821
commit a58cde0857
1 changed files with 7 additions and 3 deletions

View File

@ -125,10 +125,14 @@
</literallayout>
</para></listitem>
<listitem><para>
From the root of your checkout directory, invoke the
following command from <filename>manage.py</filename>:
From the directory containing the Toaster database,
which by default is the
<ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>,
invoke the <filename>createsuperuser</filename> command
from <filename>manage.py</filename>:
<literallayout class='monospaced'>
$ ./bitbake/lib/toaster/manage.py createsuperuser
$ cd ~/poky/build
$ ../bitbake/lib/toaster/manage.py createsuperuser
</literallayout>
</para></listitem>
<listitem><para>