Hi,

I'm worried the difference is not coming through.  I'm not sure if it
should be somewhere other than  in Section 3.2  but assuming it were put
there, we could extend 3.2 to say something like:

"""
This means you can access Toaster from a browser running on the same
machine by pointing it to http://localhost:8400.  Toaster would not be
accessible from a different machine on the network using this setup,
however.

To access Toaster from a different machine on the network you need to start
Toaster up as
$> source toaster webport=0.0.0.0:8400 start

Then you could access toaster from a different machine by pointing that
machines browser to <ip address or fqdn of Toaster machine>:8400
""""

Does this help clarify what I'm trying to explain?

Thanks,
-Brian
an intel employee




On Thu, Jul 14, 2016 at 11:14 AM, Scott Rifenbark <[email protected]>
wrote:

> Brian,
>
> How is this?
> http://www.yoctoproject.org/docs/2.2/toaster-manual/toaster-manual.html#setting-a-different-address
>
> Scott
>
> On Wed, Jul 13, 2016 at 9:06 AM, Brian Avery <[email protected]>
> wrote:
>
>> shouldn't we include the more common (for me anyway) case of :
>> +            For example, the following command sets the host and port to
>> "0.0.0.0:8400 <http://192.168.0.1:8400/>":
>>
>> which makes it accessible to other machines on the network? e.g. I tend
>> to run toaster on my linux box (bigger)  but often use my mac's browser
>> (nicer)  to interact with it.  If I set the webport to the linux box's ip
>> address:8400
>> it accomplishes the same thing but 0.0.0.0 works without my needing to
>> know what dhcp address I happen to have that day.
>>
>> -b
>>
>> On Fri, Jul 8, 2016 at 6:37 AM, Michael Wood <[email protected]>
>> wrote:
>>
>>> - Update starting toaster to source toaster start
>>> - Add webport address documentation
>>> - Remove redundant "syncdb" call
>>> - Make it clearer that collectstatic uses STATIC_ROOT
>>>
>>> Signed-off-by: Michael Wood <[email protected]>
>>> ---
>>>  .../toaster-manual-setup-and-use.xml               | 24
>>> +++++++++++++++++-----
>>>  1 file changed, 19 insertions(+), 5 deletions(-)
>>>
>>> diff --git
>>> a/documentation/toaster-manual/toaster-manual-setup-and-use.xml
>>> b/documentation/toaster-manual/toaster-manual-setup-and-use.xml
>>> index 66a95ac..1a87b49 100644
>>> --- a/documentation/toaster-manual/toaster-manual-setup-and-use.xml
>>> +++ b/documentation/toaster-manual/toaster-manual-setup-and-use.xml
>>> @@ -31,7 +31,7 @@
>>>              <filename>poky/build</filename>), start Toaster using this
>>>              command:
>>>              <literallayout class='monospaced'>
>>> -     $ source ../bitbake/bin/toaster
>>> +     $ source toaster start
>>>              </literallayout>
>>>              You can now run your builds from the command line, or with
>>>              Toaster as explained in section
>>> @@ -56,7 +56,21 @@
>>>              set a different port.
>>>              For example, the following command sets the port to "8400":
>>>              <literallayout class='monospaced'>
>>> -     $ source ../bitbake/bin/toaster webport=8400
>>> +     $ source toaster start webport=8400
>>> +            </literallayout>
>>> +        </para>
>>> +    </section>
>>> +
>>> +    <section id='setting-a-different-address'>
>>> +        <title>Setting a Different Address</title>
>>> +
>>> +        <para>
>>> +            By default, Toaster binds to the loop back address i.e.
>>> localhost.
>>> +            You can use the <filename>WEBPORT</filename> parameter to
>>> +            set a different host.
>>> +            For example, the following command sets the host and port
>>> to "192.168.0.1:8400":
>>> +            <literallayout class='monospaced'>
>>> +     $ source toaster start webport=192.168.0.1:8400
>>>              </literallayout>
>>>          </para>
>>>      </section>
>>> @@ -324,7 +338,6 @@
>>>                        default data, and gather the statically-served
>>> files:
>>>                        <literallayout class='monospaced'>
>>>     $ cd  /var/www/toaster/poky/
>>> -   $ ./bitbake/lib/toaster/manage.py syncdb
>>>     $ ./bitbake/lib/toaster/manage.py migrate
>>>     $ TOASTER_DIR=`pwd` TOASTER_CONF=./meta-poky/conf/toasterconf.json
>>> ./bitbake/lib/toaster/manage.py checksettings
>>>     $ ./bitbake/lib/toaster/manage.py collectstatic
>>> @@ -334,7 +347,7 @@
>>>                        <para>
>>>                            For the above set of commands, after moving
>>> to the
>>>                            <filename>poky</filename> directory,
>>> -                          the <filename>syncdb</filename> and
>>> <filename>migrate</filename>
>>> +                          the <filename>migrate</filename>
>>>                            commands ensure the database
>>>                            schema has had changes propagated correctly
>>> (i.e.
>>>                            migrations).
>>> @@ -375,7 +388,8 @@
>>>                            Finally, the
>>> <filename>collectstatic</filename> command
>>>                            is a Django framework command that collects
>>> all the
>>>                            statically served files into a designated
>>> directory to
>>> -                          be served up by the Apache web server.
>>> +                          be served up by the Apache web server as
>>> defined by
>>> +                          <filename>STATIC_ROOT</filename>
>>>                        </para></listitem>
>>>                    <listitem><para>
>>>                        Add an Apache configuration file for Toaster to
>>> your Apache web
>>> --
>>> 2.7.4
>>>
>>> --
>>> _______________________________________________
>>> toaster mailing list
>>> [email protected]
>>> https://lists.yoctoproject.org/listinfo/toaster
>>>
>>
>>
>> --
>> _______________________________________________
>> toaster mailing list
>> [email protected]
>> https://lists.yoctoproject.org/listinfo/toaster
>>
>>
>
-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to