Thanks for all the answers.

As I said before, I used the script that comes with web2py ( web2py/scripts
directory).

Installed and ran nginx and uwsgi right away.

What didn't work was the creation of new apps from admin interface. At
least not untill I started web2py manually (python2.6 web2py.py).

This is not a production server yet. I'm testing installation of web2py on
nginx and performance. If everything goes well, I'd like to get my apps
running on it.

I've read many good things about nginx (specially when it comes to use on
VPS), so I'm interested on it.

And since we're on the subject, those who are using nginx today. What do
you think about it ?

I'll do a few more tests and see if things run smoothly. If they do, I'll
probably use it.


Thanks for all the help!

(I'll use Bruno's and Bruce's answers as references).

Cheers,
Marco




2012/3/17 Bruce Wade <bruce.w...@gmail.com>

> Ubuntu 11.10, setup-web2py-nginx-uwsgi-ubuntu.sh. When it didn't work I
> changed the file and submitted it back to the community.
>
> The install for uwsgi-python doesn't work instead you need to change to:
> apt-get -y install uwsgi uwsgi-plugin-python
>
> Then update the path you save the configuration file from:
> /etc/uwsgi-python/apps-available.....
> to
> /etc/*uwsgi*/apps-available......
>
> I also changed the user/group from www-data to a custom one to make
> deployment much smother
>
> Finally had to update the command that starts uwsgi from
> /etc/init.d/uwsgi-python restart
> to
> /etc/init.d/*uwsgi* restart
>
> On Sat, Mar 17, 2012 at 1:26 AM, pbreit <pbreitenb...@gmail.com> wrote:
>
>> What script did you use? What server are you on? What did it do when it
>> "didn't work"?
>
>
>
>
> --
> --
> Regards,
> Bruce Wade
> http://ca.linkedin.com/in/brucelwade
> http://www.wadecybertech.com
> http://www.warplydesigned.com
> http://www.fitnessfriendsfinder.com
>



-- 
[]'s
Marco Tulio

Reply via email to