[web2py] Re: Deploying Web2py with nginx on FreeBSD

2017-04-11 Thread Felix Penetrante
I have the followed this post and discovered that I have to install py-sqlite and do several steps to make a working FreeBSD+web2py development platform. I have posted here the modified procedure. Please be aware that the /admin should be removed/disabled when deploying a production server.

[web2py] Re: Deploying Web2py with nginx on FreeBSD

2014-09-20 Thread myappengineering
Hi, Jose. this works perfect. My uwsgi.ini file was incorrect. And I didn't have the wsgihandler.py in the correct location. Thank you so much. Best Regards. Mike On Wednesday, September 17, 2014 8:27:29 PM UTC+1, Jose wrote: 0.1 Web2py # cd /home # fetch

[web2py] Re: Deploying Web2py with nginx on FreeBSD

2014-09-17 Thread Jose
El miércoles, 10 de septiembre de 2014 13:03:13 UTC-3, myappeng...@gmail.com escribió: Hi, everyone. I'm in the process of deploying Web2py with nginx on FreeBSD. Does anyone have a deployment script for this configuration. All the recipes I have seen are for Linux and I'm having

[web2py] Re: Deploying Web2py with nginx on FreeBSD

2014-09-17 Thread Jose
0.1 Web2py # cd /home # fetch http://www.web2py.com/examples/static/web2py_src.zip # unzip web2py_src.zip # cp /home/web2py/handlers/wsgihandler.py /home/web2py/ # chown -Rh www:www web2py 0.2 uWSGI # cd /usr/ports/www/uwsgi # make install clean Create the file /usr/local/etc/uwsgi.ini

[web2py] Re: Deploying Web2py with nginx on FreeBSD

2014-09-17 Thread myappengineering
Thanks, Greg. I'm making progress. Now I'm getting an error from uwsgi 'Internal Server Error' on the web page. In the uwsgi.log '--- no python application found, check your startup logs for errors ---' On Sunday, September 14, 2014 5:29:17 PM UTC+1, GregD wrote: Have you tried changing

[web2py] Re: Deploying Web2py with nginx on FreeBSD

2014-09-14 Thread GregD
Have you tried changing the owner on the nginx location directory that's defined in your nginx.conf flie? Try making it the same owner that's defined in the nginx.conf file, which is typically, web-data. On Wednesday, September 10, 2014 11:03:13 AM UTC-5, myappeng...@gmail.com wrote: Hi,