From: Michael Wood <michael.g.wood@intel.com>
To: toaster@yoctoproject.org
Subject: Re: Remote managed mode
Date: Mon, 9 Nov 2015 12:05:50 +0000 [thread overview]
Message-ID: <56408C1E.9070105@intel.com> (raw)
In-Reply-To: <CA+1hgUg=tRO_Mu=3HaJnpb+PjQY_-ixrkAJmWDQ+YbMPPXx=cw@mail.gmail.com>
On 09/11/15 11:47, Smith, Elliot wrote:
> Hello Martin.
>
> On 9 November 2015 at 11:36, Martin Townsend <mtownsend1973@gmail.com
> <mailto:mtownsend1973@gmail.com>> wrote:
>
> I'm interested in setting up the remote managed mode, a "Hosted
> Toaster".
>
> I followed the instructions on
> https://wiki.yoctoproject.org/wiki/Setting_up_a_production_instance_of_Toaster
> for setting up a production instance in interactive mode.
> There were a couple of typo's in the wiki
> In section 4
> |
>
> CREATE DATABASE toaster;
>
> I think should be |
>
> CREATE DATABASE toaster_data;
>
> |and in section 6. |
>
> <Location /> WSGIProcessGroup toastern_wsgi </Location>
>
> doesn't work for me but removing the n to give |
>
> |
>
> WSGIProcessGroup toaster_wsgi
>
> gets me to the point where I can navigate to the main web page.
>
> |
>
> |
>
> |
>
> |
>
>
> Thanks for pointing those out, I've fixed them in the wiki.
>
> |
>
> |
>
> |
>
> |
>
> As it's interactive mode it's expecting a build. How do I start
> the web server up so it's in managed mode?
>
> |
>
> |
>
> |
>
> |
>
> If you start toaster from the bitbake/bin/toaster script, you get
> managed mode.
>
Yes though bitbake/bin/toaster script is only for the 'localhost' setup,
not for remote/hosted managed mode.
If you're using master or jethro/2.0 I think what is missing in the wiki
instructions is setting the BUILD_MODE = true in
bitbake/lib/toaster/toastermain/settings.py
see latest docs here
http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#setting-up-a-hosted-service-and-running-in-build-mode
The wiki page was just meant to be a staging place for documentation
before it's official which might be a bit confusing now that I think
about it, I'll put a warning/link at the top to the main documentation.
Thanks
> The instructions for managed mode (aka build mode) for 1.8 are here:
> http://www.yoctoproject.org/docs/1.8/toaster-manual/toaster-manual.html#setting-up-a-hosted-service-and-running-in-build-mode
>
> Note that we've recently changed how this works in master, so we now
> have a BUILD_MODE variable (for the moment, at least) to turn build
> mode on. The updated docs explaining that are in progress.
>
> Cheers,
> Elliot
>
> --
> Elliot Smith
> Software Engineer
> Intel Open Source Technology Centre
>
>
prev parent reply other threads:[~2015-11-09 12:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 11:36 Remote managed mode Martin Townsend
2015-11-09 11:47 ` Smith, Elliot
2015-11-09 12:01 ` Martin Townsend
2015-11-09 12:05 ` Michael Wood [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56408C1E.9070105@intel.com \
--to=michael.g.wood@intel.com \
--cc=toaster@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.