What would be great is a list of hosts that are known to work along
with instructions.
Here is a start of what I have used personally:
- Google App Engine (http://code.google.com/appengine/docs/python/
gettingstarted/uploading.html)
- Webfaction (http://forum.webfaction.com/viewtopic.php?id=2373)
Others I have heard work:
- Slicehost
- Dreamhost
-Thadeus
> --
> 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+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
>
>
I have 10+ dynamic apps (e.g. running a DB back-end, including
pyforum.org and techfuel.net, both web2py) on a $15.00 a month VPS on
serveraxis.com, but don't let the price fool you, uptime has been
virtually 100% in the past 4 years, the caveat is that you get a
"plain vanilla" server (you have to admin it), but I see that as a
benefit as you can have the exact version of whatever you want on it,
hth. Julio
Looking forward to it.
I have a client who already uses Hostgator and they won't want to move
elsewhere just for my framework.
Do you use a single web2py installation for those 10 apps?
1) Get them to install pysqlite, hashlib, MySQL-python, uuid and
enable SSH access.
2) Install virtualenv
wget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.5.tar.gz
tar xzf virtualenv-1.4.5.tar.gz
python virtualenv-1.4.5/virtualenv.py $HOME/local
2a)Add it to your path
PATH="$HOME/local/bin:$PATH"
export PATH
2b) Create a .bash_profile in your home folder with the same two lines
above
3) Download web2py_src.zip and extract to your web root.
wget http://www.web2py.com/examples/static/web2py_src.zip
unzip web2py_src.zip
mv web2py/* public_html/yourdomain.com/
4) Create a dispatch.fcgi in web root with the following content:
#!/home/[username]/local/bin/python
import sys
from flup.server.fcgi_fork import WSGIServer
import gluon.main
application=gluon.main.wsgibase
## or
# application=gluon.main.wsgibase_with_logging
WSGIServer(application).run()
4b) chmod +x dispatch.fcgi
5) Create a .htaccess in the web root with the following content:
AddHandler fcgid-script .fcgi
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^dispatch\.fcgi/ - [L]
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]
Give it a try.