Web2py Deployment Script for Ubuntu 14.04

365 views
Skip to first unread message

Auden RovelleQuartz

unread,
Jul 18, 2014, 8:14:18 AM7/18/14
to web...@googlegroups.com
This recipe which had worked:

{

One step production deployment

Here are some steps to install apache+python+mod_wsgi+web2py+postgresql from scratch.

On Ubuntu:

wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
chmod +x setup-web2py-ubuntu.sh
sudo ./setup-web2py-ubuntu.sh


}

no longer works when using the Ubuntu 14.04 operating system.

Instead of getting the default web2py "welcome" application (when you type in the IP address on the browser), an Apache default page is displayed.

returning to Ubuntu 12.04 operating system fixed the issue (the deployement recipe worked on that older Ubuntu version)

Richard Vézina

unread,
Jul 18, 2014, 11:33:55 AM7/18/14
to web2py-users
You can update the script if you can.

Must be a couple of package renamed from Ubuntu side...

:)

Richard


--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brian M

unread,
Jul 19, 2014, 12:51:44 AM7/19/14
to web...@googlegroups.com

Ivan Di Giusto

unread,
Aug 15, 2014, 4:11:21 AM8/15/14
to web...@googlegroups.com
I added Brian's changes, added SSL Rewrite to deal with the /admin page needing SSL, etc.

You can run the updated code like this:
sudo ./setup-web2py-ubuntu-14.04.sh

I will be submitting a proposed solution on code.google site.

Ivan
Reply all
Reply to author
Forward
0 new messages