oops there is a typo in anyserver replace gnuicorn with unicorn in the source. I just fixed it in trunk.
On Monday, 16 April 2012 01:39:26 UTC-5, Rahul wrote: > > It gives me an error - > *-bash-3.2$ python anyserver.py -s gunicorn -i 72.3.247.225 -p 9065* > starting gunicorn on 72.3.247.225:9065... > Traceback (most recent call last): > File "anyserver.py", line 299, in <module> > main() > File "anyserver.py", line 295, in main > > run(options.server,options.ip,options.port,logging=options.logging,profiler=options.profiler) > File "anyserver.py", line 157, in run > getattr(Servers,servername)(application,(ip,int(port))) > AttributeError: class Servers has no attribute 'gunicorn' > > Gunicorn is installed. Anything I need to do in gunicorn configuration to > resolve it? > I am confused... > > Sincerely, Rahul D > > > > On Friday, April 13, 2012 7:01:27 PM UTC+5:30, Massimo Di Pierro wrote: >> >> No. If you want to use gunicorn you must start web2py with >> >> anyserver -s gunicorn >> >> anyserver comes with web2py. >> >> On Friday, 13 April 2012 04:27:14 UTC-5, Rahul wrote: >>> >>> Hi Massimo, >>> I am trying to explore gunicorn. Below is the command I use to >>> activate my site. I am not sure if the parameter -s gunicorn does anything. >>> How do I confirm this? I have gunicorn, eventlet and greenlet installed via >>> virtualenv. I am trying to streamline my deployment and eventually remove >>> the port number as well. >>> * >>> -bash-3.2$* python web2py.py -a'<recycle>' -i flockbird.com -p >>> 9065 -s gunicorn & >>> >>> Thanks, >>> >>> sincerely, Rahul D [www.flockbird.com] >>> >>> >>> On Friday, July 22, 2011 9:33:10 PM UTC+5:30, Furqan Rauf wrote: >>>> >>>> I could do it but I am a newbie, no nothing about the deployment or >>>> stress testing >>>> >>>> On Fri, Jul 22, 2011 at 10:06 AM, Massimo Di Pierro < >>>> massimo.dipie...@gmail.com> wrote: >>>> >>>>> Hello everybody, >>>>> >>>>> heroku will be supporting web2py. They run gunicorn. web2py runs with >>>>> gunicorn but I have never tried it. >>>>> >>>>> Any volunteer to run some stress tests? >>>>> >>>>> cd web2py >>>>> python anyserver -s gunicorn >>>>> >>>>> Massimo >>>> >>>> >>>> >>>> >>>> -- >>>> *-Furqan Rauf* >>>> *Do you love your creator? Love your fellow-beings first. -Prophet >>>> Muhammad >>>> * >>>> *http://www.amway.com/furqanrauf* >>>> >>>>