toaster-manual: Updated the "Installation" to have TOASTER_DIR information

In section 3.6 of the manual about setting up a production instance of
Toaster, explain that TOASTER_DIR determines the location of the build
directory, and that the checksettings command configures the build
environment for Toaster.

NOTE: I applied some minor fixes to the wording.

(From yocto-docs rev: b900e4f3f7a1f798b82a25e350cb8626ffb5d786)

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-02 16:31:20 -08:00 committed by Richard Purdie
parent 3aa162a0d5
commit 5e2201edaf
1 changed files with 26 additions and 5 deletions

View File

@ -328,14 +328,35 @@
<para>
The next line sets the Toaster root directory
<filename>TOASTER_DIR</filename>, and the location of
the Toaster configuration file <filename>TOASTER_CONF</filename>,
relative to the root directory. For more information on the
Toaster configuration file see the
"<link linkend='toaster-json-files'>JSON Files</link>"
<filename>TOASTER_DIR</filename> and the location of
the Toaster configuration file
<filename>TOASTER_CONF</filename>, which is
relative to the Toaster root directory
<filename>TOASTER_DIR</filename>.
For more information on the Toaster configuration file
<filename>TOASTER_CONF</filename>, see the
<link linkend='toaster-json-files'>JSON Files</link>
section of this manual.
</para>
<para>
This line also runs the <filename>checksettings</filename>
command, which configures the location of the Toaster
<ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build directory</ulink>.
The Toaster root directory <filename>TOASTER_DIR</filename>
determines where the Toaster build directory
is created on the file system.
In the example above,
<filename>TOASTER_DIR</filename> is set as follows:
<literallayout class="monospaced">
/var/www/toaster/poky
</literallayout>
This setting causes the Toaster build directory to be:
<literallayout class="monospaced">
/var/www/toaster/poky/build
</literallayout>
</para>
<para>
Finally, the <filename>collectstatic</filename> command
is a Django framework command that collects all the