[Toaster] Remote managed mode
Michael Wood
michael.g.wood at intel.com
Mon Nov 9 04:05:50 PST 2015
On 09/11/15 11:47, Smith, Elliot wrote:
> Hello Martin.
>
> On 9 November 2015 at 11:36, Martin Townsend <mtownsend1973 at gmail.com
> <mailto:mtownsend1973 at 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
>
>
More information about the toaster
mailing list