On 10 December 2015 at 11:49, Ed Bartosh <[email protected]> wrote:

> 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.
>

Submitted to [email protected] and to toaster-next.

Elliot


>
> Updated instructions to start toaster according to the
> changes described above.
>
> Signed-off-by: Ed Bartosh <[email protected]>
> ---
>  .../toaster-manual-setup-and-use.xml               | 67
> +++-------------------
>  1 file 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 74c00c4..75aaea8 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
> @@ -72,12 +52,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>
> @@ -88,18 +63,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>
> @@ -117,17 +84,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>
> @@ -136,7 +95,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>
>
> @@ -217,10 +176,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'>
> @@ -333,13 +289,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>
> --
> 2.1.4
>
> --
> _______________________________________________
> toaster mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Elliot Smith
Software Engineer
Intel Open Source Technology Centre
-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to