aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/toaster-manual
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh at linux.intel.com>2016-01-07 13:14:32 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-15 16:31:16 +0000
commitbf81969bbc87223f2ababa20f41f6d2f05dffcca (patch)
treecde2d181f555a267adb1abd96aa7fe434d3cc960 /documentation/toaster-manual
parent798e8b8d03b78929a936c6ea01166209a747ca1f (diff)
downloadopenembedded-core-contrib-bf81969bbc87223f2ababa20f41f6d2f05dffcca.tar.gz
toaster-manual: Updates on how to start Toaster.
Recently, the way to start Toaster has been simplified. The only way to start it now is to source toaster script. Builds can be run either from command line or from Toaster web interface. Updated instructions to start toaster according to the changes described above. (From yocto-docs rev: 2e980c9157abad073e7d08309a99cb2f515441c0) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/toaster-manual')
-rw-r--r--documentation/toaster-manual/toaster-manual-setup-and-use.xml67
1 files changed, 8 insertions, 59 deletions
diff --git a/documentation/toaster-manual/toaster-manual-setup-and-use.xml b/documentation/toaster-manual/toaster-manual-setup-and-use.xml
index 8c7ff7bd0a..6a69706df2 100644
--- a/documentation/toaster-manual/toaster-manual-setup-and-use.xml
+++ b/documentation/toaster-manual/toaster-manual-setup-and-use.xml
@@ -17,32 +17,12 @@
</para>
<para>
- If you want to configure and start your builds using the
- Toaster web interface
- (i.e. "<link linkend='toaster-build-mode'>Build Mode</link>"),
- navigate to the root of your
+ Navigate to the root of your
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
(e.g. <filename>poky</filename>):
<literallayout class='monospaced'>
$ cd poky
</literallayout>
- Next, start Toaster:
- <literallayout class='monospaced'>
- $ bitbake/bin/toaster
- </literallayout>
- Open your favourite browser and enter the following:
- <literallayout class='monospaced'>
- http://127.0.0.1:8000
- </literallayout>
- If you would rather configure and start your builds
- using the command line
- (i.e. <link linkend='toaster-analysis-mode'>Analysis Mode</link>),
- you can get Toaster to "listen"
- to your builds and collect information about them.
- To do that, navigate to the root of your Source Directory:
- <literallayout class='monospaced'>
- $ cd poky
- </literallayout>
Once in that directory, source the build environment script:
<literallayout class='monospaced'>
$ source oe-init-build-env
@@ -74,12 +54,7 @@
By default, Toaster starts on port 8000.
You can use the <filename>WEBPORT</filename> parameter to
set a different port.
- For example, either of the following commands sets the
- port to "8400":
- <literallayout class='monospaced'>
- $ bitbake/bin/toaster webport=8400
- </literallayout>
- or
+ For example, the following command sets the port to "8400":
<literallayout class='monospaced'>
$ source ../bitbake/bin/toaster webport=8400
</literallayout>
@@ -90,18 +65,10 @@
<title>The Directory for Cloning Layers</title>
<para>
- If you are running Toaster in
- <link linkend='toaster-build-mode'>Build Mode</link>,
Toaster creates a <filename>_toaster_clones</filename>
directory inside your Source Directory
- (i.e. <filename>poky</filename>).
- For example, suppose you use this command to start Toaster:
- <literallayout class='monospaced'>
- poky/bitbake/bin/toaster
- </literallayout>
- In this example, Toaster creates and uses the
- <filename>poky/_toaster_clones</filename>
- directory to clone any layers needed for your builds.
+ (i.e. <filename>poky</filename>) to clone any layers
+ needed for your builds.
</para>
<para>
@@ -119,17 +86,9 @@
<title>The Build Directory</title>
<para>
- If you are running Toaster in
- <link linkend='toaster-build-mode'>Build Mode</link>,
Toaster creates a build directory within your Source
- Directory (e.g. <filename>poky</filename>).
- For example, suppose you use this command to start Toaster:
- <literallayout class='monospaced'>
- poky/bitbake/bin/toaster
- </literallayout>
- In this example, Toaster creates and uses the
- <filename>poky/build</filename>
- directory to execute the builds.
+ Directory (e.g. <filename>poky</filename>) to execute
+ the builds.
</para>
<para>
@@ -138,7 +97,7 @@
the <filename>TOASTER_DIR</filename> environment variable,
which takes precedence over your current working directory.
Setting this environment variable causes Toaster to use
- <filename>$TOASTER_DIR./build</filename> as the build directory.
+ <filename>$TOASTER_DIR/build</filename> as the build directory.
</para>
</section>
@@ -219,10 +178,7 @@
The production instance is also the setup that can cope with
heavier loads on the web service.
Use the instructions in the following sections to set up
- Toaster in
- <link linkend='toaster-build-mode'>Build Mode</link>
- where builds and projects are run,
- viewed, and defined through the Toaster web interface.
+ Toaster to run builds through the Toaster web interface.
</para>
<section id='toaster-production-instance-requirements'>
@@ -335,13 +291,6 @@
STATIC_ROOT = '/var/www/toaster/static_files/'
</literallayout>
</para></listitem>
- <listitem><para>
- Enable Build Mode by adding the following
- line to <filename>settings.py</filename>:
- <literallayout class='monospaced'>
- BUILD_MODE=True
- </literallayout>
- </para></listitem>
</itemizedlist>
</para></listitem>
<listitem><para>