Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D61AEE00AB7; Thu, 10 Dec 2015 04:20:51 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, WEIRD_PORT autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.88 listed in list.dnswl.org] * 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 86E7CE002F9 for ; Thu, 10 Dec 2015 04:20:47 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 10 Dec 2015 04:20:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,408,1444719600"; d="scan'208";a="704600511" Received: from linux.intel.com ([10.23.219.25]) by orsmga003.jf.intel.com with ESMTP; 10 Dec 2015 04:20:48 -0800 Received: from vmed.fi.intel.com (vmed.fi.intel.com [10.237.72.51]) by linux.intel.com (Postfix) with ESMTP id 877B66A408D; Thu, 10 Dec 2015 04:19:36 -0800 (PST) From: Ed Bartosh To: toaster@yoctoproject.org Date: Thu, 10 Dec 2015 13:49:18 +0200 Message-Id: <1449748158-15563-1-git-send-email-ed.bartosh@linux.intel.com> X-Mailer: git-send-email 2.1.4 Subject: [review-request][PATCH] toaster-manual: describe the way to start Toaster X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2015 12:20:51 -0000 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. Signed-off-by: Ed Bartosh --- .../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 @@ - If you want to configure and start your builds using the - Toaster web interface - (i.e. "Build Mode"), - navigate to the root of your + Navigate to the root of your Source Directory (e.g. poky): $ cd poky - Next, start Toaster: - - $ bitbake/bin/toaster - - Open your favourite browser and enter the following: - - http://127.0.0.1:8000 - - If you would rather configure and start your builds - using the command line - (i.e. Analysis Mode), - 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: - - $ cd poky - Once in that directory, source the build environment script: $ source oe-init-build-env @@ -72,12 +52,7 @@ By default, Toaster starts on port 8000. You can use the WEBPORT parameter to set a different port. - For example, either of the following commands sets the - port to "8400": - - $ bitbake/bin/toaster webport=8400 - - or + For example, the following command sets the port to "8400": $ source ../bitbake/bin/toaster webport=8400 @@ -88,18 +63,10 @@ The Directory for Cloning Layers - If you are running Toaster in - Build Mode, Toaster creates a _toaster_clones directory inside your Source Directory - (i.e. poky). - For example, suppose you use this command to start Toaster: - - poky/bitbake/bin/toaster - - In this example, Toaster creates and uses the - poky/_toaster_clones - directory to clone any layers needed for your builds. + (i.e. poky) to clone any layers + needed for your builds. @@ -117,17 +84,9 @@ The Build Directory - If you are running Toaster in - Build Mode, Toaster creates a build directory within your Source - Directory (e.g. poky). - For example, suppose you use this command to start Toaster: - - poky/bitbake/bin/toaster - - In this example, Toaster creates and uses the - poky/build - directory to execute the builds. + Directory (e.g. poky) to execute + the builds. @@ -136,7 +95,7 @@ the TOASTER_DIR environment variable, which takes precedence over your current working directory. Setting this environment variable causes Toaster to use - $TOASTER_DIR./build as the build directory. + $TOASTER_DIR/build as the build directory. @@ -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 - Build Mode - where builds and projects are run, - viewed, and defined through the Toaster web interface. + Toaster to run builds through the Toaster web interface.
@@ -333,13 +289,6 @@ STATIC_ROOT = '/var/www/toaster/static_files/' - - Enable Build Mode by adding the following - line to settings.py: - - BUILD_MODE=True - - -- 2.1.4