Oh its working!! I eliminated the *set interfaces and set port *lines and remained with the *set command *line and it opened
On Thursday, November 23, 2017 at 9:35:08 AM UTC+2, mostwanted wrote: > > When i run my .bat file it just flashes a black console and then closes, > it doesn't display any errors or anything to notify me about what I'm doing > wrong! What could i be missing? my code is exactly the same as Stifan's; > > @echo off > set command=C:\Users\mesho\Desktop\myapp\web2py\web2py.exe > set interfaces=0.0.0.0 > set port=8000 > start %command% --interfaces=%interfaces% --p=%port% > > > What am I missing or messing up?? > > On Thursday, November 23, 2017 at 8:37:19 AM UTC+2, 黄祥 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 >> >> @echo off >> set command=C:\web2py\web2py.exe >> set interfaces=0.0.0.0 >> set port= 8000 >> start %command% --interfaces=%interfaces% -p %port% >> >> 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. >> >> best regards, >> stifan >> > -- 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.