Overview of features
Home
Read this first
About
web2py is 100% free
Download
Start learning web2py today
Documentation
Authors and contributors
Staff
Affiliated companies
Support
Edit page
Title:
Security Code:
Body:
(use
this
wiki markup)
**Thank you Limodou for all your work on this** web2py supports windows service install/start/stop now in source version. If you want to use it, you should create an options.py (for default usage) with startup parameters or specify an option file with -L <optionsfile> parameter in the command line. The options.py could be like this: import socket, os ip = socket.gethostname() port = 80 password = '<recycle>' ### <recycle> means use the previous password pid_filename = 'httpserver.pid' log_filename = 'httpserver.log' ssl_certificate = '' ### path to certificate file ssl_private_key = '' ### path to private key file numthreads = 10 server_name = socket.gethostname() request_queue_size = 5 timeout = 10 shutdown_timeout = 5 folder = os.getcwd() And you don't need to create options.py manually, there is already an options_std.py in web2py folder, so you can copy it and name it options.py or just specify it in command line via -L parameter. then run: python2.5 web2py.py -W install #install web2py as a windows service python2.5 web2py.py -W start -L options.py #if you don't give -L parameter, the default configure file will be options.py python2.5 web2py.py -W stop