we made this easy. There is a new file in trunk

web2py/anyserver.py

so just do

easy_install cherrypy
python anyserver.py -s cherrypy -p 8080

easy_install tornado
python anyserver.py -s tornado -p 8081

...
you get the idea. -h for help -i and -p to specify ip and port, -l for
logging and -P for profiler.

The code is very much inspired by code in the bottle microframework.

I am not sure if this will stay in its current form or if it will
incorporated into web2py.py (my preference).

Anybody wants to run some benchmarks tomorrow?

Anybody wants to help move it to gluon/ and add the -s option to gluon/
widget.py?

Massimo

Reply via email to