ok, some problems arise.
We can either go with a default script a-la "setup-web2py-nginx-uwsgi-ubuntu.sh" that takes a freshly machine "devoted" to web2py and does everything or with something else.
Unfortunately the "let's spin up a free VM to host web2py" doesn't really match web2py's user-case in Windows world.
installing python, getting a self-signed certificate, installing a database like some scripts do is unfeasible....
Even with a stripped down script (and web.config), there are some steps to do manually:
- (needs manual intervention) installing the url-rewrite module (should be there in any "sane" IIS installation....who does things without rewriting urls these days :P)
- (needs manual intervention) setting write permissions on the app-folder (here comes the first issues.... by default you just add write permissions to IIS_IUSRS that by default have read-only.....but you could want to run the app in a stricter security-config, etc etc).....
- (needs manual intervention) installing wfastcgi (although, technically, it's apache 2.0 licensed, so we could ship it in handlers/*)...@license specialists, please investigate
That being said....if we ship web.config in "examples" and you place iis_setup.ps1 in the root folder (where web2py.py lives) and you execute it, it's enough to get everything going nicely.
https://www.dropbox.com/s/ni2wbxyh1r3nrxa/iis_web2py.zip?dl=0Please test it in a dev environment.