So, I've tried those instructions, stumbled and tripped and fell and gave up. I tried to stick with official python.org binaries, and ran into some issues. i then installed python 2.7.3 via the microsoft installer, and it installs, but puts it in python27_x86 which screws up all your installed libraries. And you have to reinstall win32all again, and because you reinstalled win32all you have to reinstall wfastcgi... anyway, I gave up after getting my python all patched up and working again. Turns out greenlet won't work unless you have 2.7.5 (no reason why) but Microsoft only lets you install 2.7.3 via their web installer. In any case, it would be nice to have an installer where it checks your setup and tells you what to fix, like an interactive installer / iis setup configuration checker. like so...
checking wfastcgi... installed. checking python 2.7.5.... wrong version! go here to download.... checking iis 7+ .... installed 8x checking... On Tuesday, October 28, 2014 3:19:47 PM UTC-7, Niphlod wrote: > > 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=0 > > Please test it in a dev environment. > > > -- 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.