On Wednesday, November 22, 2017 at 10:37:19 PM UTC-8, 黄祥 wrote:
>
> On Thursday, November 23, 2017 at 12:19:51 PM UTC+7, mostwanted wrote:
>>
>> Hi guys, i am trying to make my application a widnows desktop app, (i'm 
>> from Ubuntu), i'm reading the steps in the link below
>>
>> http://web2py.com/books/default/chapter/29/14/other-recipes#How-to-distribute-your-applications-as-binaries
>>  
>> <http://www.google.com/url?q=http%3A%2F%2Fweb2py.com%2Fbooks%2Fdefault%2Fchapter%2F29%2F14%2Fother-recipes%23How-to-distribute-your-applications-as-binaries&sa=D&sntz=1&usg=AFQjCNEt3CSdv7n3AlmWRqkiHuAGq3B6UA>
>> I am assuming where is says 
>>
>>    - *Download a web2py windows binary distribution*
>>
>> it means downloading the version that runs on windows(right?)
>>
> yes 
>
>>
>> but i get stuck when i get to this line 
>>
>>    - *Create a file "myapp/start.bat" that contains "web2py/web2py.exe"*
>>
>> please create a file name "start.bat" with in on the myapp path, which 
> have a content web2py/web2py.exe on the file
>

 

> e.g. (please change the path c:\web2py to fit your need)
> myapp/start.bat
>
>
Hey, he's just been told to create a directory "myapp" and put web2py  
there, so of course he needs to do that.

@echo off
> set command=C:\web2py\web2py.exe
> set interfaces=0.0.0.0
> set port= 8000
> start %command% --interfaces=%interfaces% -p %port%
>
>  
Port 8000 may not be correct for the people intalling the OP's package.  
He'll have to tell the customer how to configure the port, etc.  That's for 
a stand-alone configuration. If the customer wants to run it under a 
scalable front end (instead of the useful but not scalable Rocket), the OP 
will have to write up different instructions.  Those are in Chapter 13, but 
he will probably need to find a Windows-speaking person to help make sure 
the instructions work for a specific site.


just another way around, if you plan to make windows desktop app, perhaps 
> you can looking for electron or nwjs, point it into your server url 
> (webview), and it will generated, the exe for you.
>
>
Sounds like he wants to distribute server packages,  

best regards,
> stifan
>

/dps
 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to