Re: [web2py] web2py production deployment on vps.net (VIDEO)
On Wed, Mar 24, 2010 at 16:49, Albert Abril wrote: > I don't know if it's my fault, but the 'web2py ubuntu setup' script failed > on a basic installation of ubuntu 9.10 at the vps.net > > ( http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh ) > > > * Restarting web server apache2 > * We failed to correctly shutdown apache, so we're now killing all running > apache processes. This is almost certainly suboptimal, so please make sure > your system is working as you'd expect now! > ... waiting .Syntax error on line 6 of > /etc/apache2/sites-enabled/000-default: > Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a > module not included in the server configuration > ...fail! > admin password: > done! Try this (as root): aptitude install libapache2-mod-wsgi a2enmod wsgi /etc/init.d/apache2 restart If it doesn't work, check if there is a LoadModule for wsgi, like "LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so" with command: grep -rHn "LoadModule wsgi" /etc/apache2/* If this command does not print any line, so you'll have to configure it manually - and I really don't know what happened. The packages were downloaded success fully? If a network error occurs when the script is running it can create problems. If yes, re-run all apt-get commands in section "installing useful packages" of the script and try to restart apache. > More info about 000-default: > > r...@vps:~# cat /etc/apache2/sites-enabled/000-default > > NameVirtualHost *:80 > NameVirtualHost *:443 > > > WSGIDaemonProcess web2py user=www-data group=www-data > WSGIProcessGroup web2py > WSGIScriptAlias / /home/www-data/web2py/wsgihandler.py > > () > > > I want to try it with cherokee too, my "native" webserver :) > > > > > On Wed, Mar 24, 2010 at 8:20 PM, Albert Abril > wrote: >> >> Purchased one month for testing. >> I'll give my impressions, at the moments, great. >> >> On Wed, Mar 24, 2010 at 1:51 AM, Álvaro Justen [Turicas] >> wrote: >>> >>> On Tue, Mar 23, 2010 at 12:49, mdipierro wrote: >>> > The video: >>> > >>> > http://vimeo.com/10377947 >>> > >>> > Please use this link below to sign up for vps.net. >>> > >>> > http://www.vps.net/?bid=190&aid=CD3792&opt= >>> > >>> > If you want to use vps.net, by using the link to register you will be >>> > making a zero cost donation. >>> >>> Cool, thanks! >>> >>> I'm working on some ways to deploy apps when web2py environment is >>> just working on the server. Things like: >>> 0- I push from my Mercurial local repo to my server >>> 1- My server run all tests in my app (yes, TDD[1] and continuous >>> integration[2] are very important). >>> 2- If all tests returned OK it updates the app that is in production, >>> do database migrations (note that we generally use migrate=False for >>> production environments) etc. >>> >>> [1] http://en.wikipedia.org/wiki/Test-driven_development >>> [2] http://en.wikipedia.org/wiki/Continuous_integration >>> >>> > -- >>> > You received this message because you are subscribed to the Google >>> > Groups "web2py-users" group. >>> > To post to this group, send email to web...@googlegroups.com. >>> > To unsubscribe from this group, send email to >>> > web2py+unsubscr...@googlegroups.com. >>> > For more options, visit this group at >>> > http://groups.google.com/group/web2py?hl=en. >>> >>> -- >>> Álvaro Justen - Turicas >>> http://blog.justen.eng.br/ >>> 21 9898-0141 >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "web2py-users" group. >>> To post to this group, send email to web...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> web2py+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/web2py?hl=en. >>> >> > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > -- Álvaro Justen - Turicas http://blog.justen.eng.br/ 21 9898-0141 -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] web2py production deployment on vps.net (VIDEO)
Worked correctly with a 8.04 LTS clean and basic installation. Should I open a new thread about testing the script? On Wed, Mar 24, 2010 at 8:49 PM, Albert Abril wrote: > I don't know if it's my fault, but the 'web2py ubuntu setup' script failed > on a basic installation of ubuntu 9.10 at the vps.net > > ( http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh ) > > > * Restarting web server apache2 > * We failed to correctly shutdown apache, so we're now killing all running > apache processes. This is almost certainly suboptimal, so please make sure > your system is working as you'd expect now! > ... waiting .Syntax error on line 6 of > /etc/apache2/sites-enabled/000-default: > Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a > module not included in the server configuration >...fail! > admin password: > done! > > More info about 000-default: > > r...@vps:~# cat /etc/apache2/sites-enabled/000-default > > NameVirtualHost *:80 > NameVirtualHost *:443 > > > WSGIDaemonProcess web2py user=www-data group=www-data > WSGIProcessGroup web2py > WSGIScriptAlias / /home/www-data/web2py/wsgihandler.py > >() > > > I want to try it with cherokee too, my "native" webserver :) > > > > > > On Wed, Mar 24, 2010 at 8:20 PM, Albert Abril wrote: > >> Purchased one month for testing. >> I'll give my impressions, at the moments, great. >> >> >> On Wed, Mar 24, 2010 at 1:51 AM, Álvaro Justen [Turicas] < >> alvarojus...@gmail.com> wrote: >> >>> On Tue, Mar 23, 2010 at 12:49, mdipierro >>> wrote: >>> > The video: >>> > >>> >http://vimeo.com/10377947 >>> > >>> > Please use this link below to sign up for vps.net. >>> > >>> > http://www.vps.net/?bid=190&aid=CD3792&opt= >>> > >>> > If you want to use vps.net, by using the link to register you will be >>> > making a zero cost donation. >>> >>> Cool, thanks! >>> >>> I'm working on some ways to deploy apps when web2py environment is >>> just working on the server. Things like: >>> 0- I push from my Mercurial local repo to my server >>> 1- My server run all tests in my app (yes, TDD[1] and continuous >>> integration[2] are very important). >>> 2- If all tests returned OK it updates the app that is in production, >>> do database migrations (note that we generally use migrate=False for >>> production environments) etc. >>> >>> [1] http://en.wikipedia.org/wiki/Test-driven_development >>> [2] http://en.wikipedia.org/wiki/Continuous_integration >>> >>> > -- >>> > You received this message because you are subscribed to the Google >>> Groups "web2py-users" group. >>> > To post to this group, send email to web...@googlegroups.com. >>> > To unsubscribe from this group, send email to >>> web2py+unsubscr...@googlegroups.com >>> . >>> > For more options, visit this group at >>> http://groups.google.com/group/web2py?hl=en. >>> >>> -- >>> Álvaro Justen - Turicas >>> http://blog.justen.eng.br/ >>> 21 9898-0141 >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "web2py-users" group. >>> To post to this group, send email to web...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> web2py+unsubscr...@googlegroups.com >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/web2py?hl=en. >>> >>> >> > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] web2py production deployment on vps.net (VIDEO)
I don't know if it's my fault, but the 'web2py ubuntu setup' script failed on a basic installation of ubuntu 9.10 at the vps.net ( http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh ) * Restarting web server apache2 * We failed to correctly shutdown apache, so we're now killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now! ... waiting .Syntax error on line 6 of /etc/apache2/sites-enabled/000-default: Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration ...fail! admin password: done! More info about 000-default: r...@vps:~# cat /etc/apache2/sites-enabled/000-default NameVirtualHost *:80 NameVirtualHost *:443 WSGIDaemonProcess web2py user=www-data group=www-data WSGIProcessGroup web2py WSGIScriptAlias / /home/www-data/web2py/wsgihandler.py () I want to try it with cherokee too, my "native" webserver :) On Wed, Mar 24, 2010 at 8:20 PM, Albert Abril wrote: > Purchased one month for testing. > I'll give my impressions, at the moments, great. > > > On Wed, Mar 24, 2010 at 1:51 AM, Álvaro Justen [Turicas] < > alvarojus...@gmail.com> wrote: > >> On Tue, Mar 23, 2010 at 12:49, mdipierro wrote: >> > The video: >> > >> >http://vimeo.com/10377947 >> > >> > Please use this link below to sign up for vps.net. >> > >> > http://www.vps.net/?bid=190&aid=CD3792&opt= >> > >> > If you want to use vps.net, by using the link to register you will be >> > making a zero cost donation. >> >> Cool, thanks! >> >> I'm working on some ways to deploy apps when web2py environment is >> just working on the server. Things like: >> 0- I push from my Mercurial local repo to my server >> 1- My server run all tests in my app (yes, TDD[1] and continuous >> integration[2] are very important). >> 2- If all tests returned OK it updates the app that is in production, >> do database migrations (note that we generally use migrate=False for >> production environments) etc. >> >> [1] http://en.wikipedia.org/wiki/Test-driven_development >> [2] http://en.wikipedia.org/wiki/Continuous_integration >> >> > -- >> > You received this message because you are subscribed to the Google >> Groups "web2py-users" group. >> > To post to this group, send email to web...@googlegroups.com. >> > To unsubscribe from this group, send email to >> web2py+unsubscr...@googlegroups.com >> . >> > For more options, visit this group at >> http://groups.google.com/group/web2py?hl=en. >> >> -- >> Álvaro Justen - Turicas >> http://blog.justen.eng.br/ >> 21 9898-0141 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To post to this group, send email to web...@googlegroups.com. >> To unsubscribe from this group, send email to >> web2py+unsubscr...@googlegroups.com >> . >> For more options, visit this group at >> http://groups.google.com/group/web2py?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] web2py production deployment on vps.net (VIDEO)
Purchased one month for testing. I'll give my impressions, at the moments, great. On Wed, Mar 24, 2010 at 1:51 AM, Álvaro Justen [Turicas] < alvarojus...@gmail.com> wrote: > On Tue, Mar 23, 2010 at 12:49, mdipierro wrote: > > The video: > > > >http://vimeo.com/10377947 > > > > Please use this link below to sign up for vps.net. > > > > http://www.vps.net/?bid=190&aid=CD3792&opt= > > > > If you want to use vps.net, by using the link to register you will be > > making a zero cost donation. > > Cool, thanks! > > I'm working on some ways to deploy apps when web2py environment is > just working on the server. Things like: > 0- I push from my Mercurial local repo to my server > 1- My server run all tests in my app (yes, TDD[1] and continuous > integration[2] are very important). > 2- If all tests returned OK it updates the app that is in production, > do database migrations (note that we generally use migrate=False for > production environments) etc. > > [1] http://en.wikipedia.org/wiki/Test-driven_development > [2] http://en.wikipedia.org/wiki/Continuous_integration > > > -- > > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > > To post to this group, send email to web...@googlegroups.com. > > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com > . > > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- > Álvaro Justen - Turicas > http://blog.justen.eng.br/ > 21 9898-0141 > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] web2py production deployment on vps.net (VIDEO)
On Tue, Mar 23, 2010 at 12:49, mdipierro wrote: > The video: > > http://vimeo.com/10377947 > > Please use this link below to sign up for vps.net. > > http://www.vps.net/?bid=190&aid=CD3792&opt= > > If you want to use vps.net, by using the link to register you will be > making a zero cost donation. Cool, thanks! I'm working on some ways to deploy apps when web2py environment is just working on the server. Things like: 0- I push from my Mercurial local repo to my server 1- My server run all tests in my app (yes, TDD[1] and continuous integration[2] are very important). 2- If all tests returned OK it updates the app that is in production, do database migrations (note that we generally use migrate=False for production environments) etc. [1] http://en.wikipedia.org/wiki/Test-driven_development [2] http://en.wikipedia.org/wiki/Continuous_integration > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. -- Álvaro Justen - Turicas http://blog.justen.eng.br/ 21 9898-0141 -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] web2py production deployment on vps.net (VIDEO)
The video is great and the deployment process is braindead simple. Awesome. Thanks! :) Keep up the good work. Tiago - On Tue, Mar 23, 2010 at 3:49 PM, mdipierro wrote: > The video: > >http://vimeo.com/10377947 > > Please use this link below to sign up for vps.net. > > http://www.vps.net/?bid=190&aid=CD3792&opt= > > If you want to use vps.net, by using the link to register you will be > making a zero cost donation. > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] web2py production deployment on vps.net (VIDEO)
Of course you dont avoid the "selfcertificate" warning El 24/03/2010 1:46, Alex Fanjul escribió: Massimo, If Im not wrong you should put your real hostname (myvps.example.com) in the "Common Name" field of the selfsign certificate to avoid certificate errors refering to incorrect domain certificate association alex El 23/03/2010 16:49, mdipierro escribió: The video: http://vimeo.com/10377947 Please use this link below to sign up for vps.net. http://www.vps.net/?bid=190&aid=CD3792&opt= If you want to use vps.net, by using the link to register you will be making a zero cost donation. -- Alejandro Fanjul Fdez. alex.fan...@gmail.com www.mhproject.org -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] web2py production deployment on vps.net (VIDEO)
Massimo, If Im not wrong you should put your real hostname (myvps.example.com) in the "Common Name" field of the selfsign certificate to avoid certificate errors refering to incorrect domain certificate association alex El 23/03/2010 16:49, mdipierro escribió: The video: http://vimeo.com/10377947 Please use this link below to sign up for vps.net. http://www.vps.net/?bid=190&aid=CD3792&opt= If you want to use vps.net, by using the link to register you will be making a zero cost donation. -- Alejandro Fanjul Fdez. alex.fan...@gmail.com www.mhproject.org -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
[web2py] web2py production deployment on vps.net (VIDEO)
The video: http://vimeo.com/10377947 Please use this link below to sign up for vps.net. http://www.vps.net/?bid=190&aid=CD3792&opt= If you want to use vps.net, by using the link to register you will be making a zero cost donation. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.