* Remote managed mode
@ 2015-11-09 11:36 Martin Townsend
2015-11-09 11:47 ` Smith, Elliot
0 siblings, 1 reply; 4+ messages in thread
From: Martin Townsend @ 2015-11-09 11:36 UTC (permalink / raw)
To: toaster
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
Hi,
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.
As it's interactive mode it's expecting a build. How do I start the
web server up so it's in managed mode?
Cheers,
Martin.
[-- Attachment #2: Type: text/html, Size: 2158 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Remote managed mode
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
0 siblings, 2 replies; 4+ messages in thread
From: Smith, Elliot @ 2015-11-09 11:47 UTC (permalink / raw)
To: Martin Townsend; +Cc: toaster
[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]
Hello Martin.
On 9 November 2015 at 11:36, Martin Townsend <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.
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
[-- Attachment #2: Type: text/html, Size: 3857 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Remote managed mode
2015-11-09 11:47 ` Smith, Elliot
@ 2015-11-09 12:01 ` Martin Townsend
2015-11-09 12:05 ` Michael Wood
1 sibling, 0 replies; 4+ messages in thread
From: Martin Townsend @ 2015-11-09 12:01 UTC (permalink / raw)
To: Smith, Elliot; +Cc: toaster
[-- Attachment #1: Type: text/plain, Size: 1950 bytes --]
Hi Elliot,
Thanks for the swift reply. I'll try the instructions from the Manual on
the real server.
Should I use master or will the Jethro branch be more advisable.
If master where do I set BUILD_MODE and what shall I set it to?
Cheers,
Martin.
On Mon, Nov 9, 2015 at 11:47 AM, Smith, Elliot <elliot.smith@intel.com>
wrote:
> Hello Martin.
>
> On 9 November 2015 at 11:36, Martin Townsend <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.
>
> 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
>
[-- Attachment #2: Type: text/html, Size: 4668 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Remote managed mode
2015-11-09 11:47 ` Smith, Elliot
2015-11-09 12:01 ` Martin Townsend
@ 2015-11-09 12:05 ` Michael Wood
1 sibling, 0 replies; 4+ messages in thread
From: Michael Wood @ 2015-11-09 12:05 UTC (permalink / raw)
To: toaster
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
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-09 12:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.