[web2py] Re: Dream Host Deployment

2010-03-08 Thread mr.freeze
Port 9009 works for me and has the added bonus of being a palindrome. On Mar 8, 1:27 pm, Jesse wrote: > Unfortunately, none of those work. > > Result from using pretty much any of the above: > > $ python web2py.py -i 0.0.0.0 -p 8001 -a "password" > The profile/pstats modules cannot be found > Pl

[web2py] Re: Dream Host Deployment

2010-03-08 Thread Jesse
Unfortunately, none of those work. Result from using pretty much any of the above: $ python web2py.py -i 0.0.0.0 -p 8001 -a "password" The profile/pstats modules cannot be found Please install the python-profiler package web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007

[web2py] Re: Dream Host Deployment

2010-03-08 Thread mdipierro
Or python web2py.py -i 0.0.0.0 -p 8001 -a "password" for all public IPs On Mar 8, 9:39 am, Kuba Kucharski wrote: > yes, there is a mistake in my recipe > > should be: > > python web2py.py -i 127.0.0.1 -p 8001 -a "password" > > not: > > python web2py.py -i public_ip -p 8001 -a "password" > > he

Re: [web2py] Re: Dream Host Deployment

2010-03-08 Thread Kuba Kucharski
yes, there is a mistake in my recipe should be: python web2py.py -i 127.0.0.1 -p 8001 -a "password" not: python web2py.py -i public_ip -p 8001 -a "password" here is a slice: http://www.web2pyslices.com/main/slices/take_slice/71 -- Kuba -- You received this message because you are subscri

Re: [web2py] Re: Dream Host Deployment

2010-03-07 Thread Frank Church
Unless you are on a Private Server you will not be able to use other ports besides port 80 nor should you be able to. Dreamhost IS shared hosting. An non standard ports are killed by Dreamhost once they are spotted On 7 March 2010 02:33, Jesse wrote: > Fabulous, > > That seemed to do the tricked

Re: [web2py] Re: Dream Host Deployment

2010-03-06 Thread Jason Brower
I wonder if this could be something that could be added to the web2py book as dreamhost is a big company. Maybe dreamhost would be willing to pay a little to have it done. :P BR, Jason On Sat, 2010-03-06 at 19:05 -0800, Jesse wrote: > I put the update on: > > http://wiki.dreamhost.com/Web2py >

[web2py] Re: Dream Host Deployment

2010-03-06 Thread Jesse
I put the update on: http://wiki.dreamhost.com/Web2py For anyone that is interested. Also, I can migrate the info to another location if someone has a suggestion as to where. Cheers, Jesse On Mar 6, 10:33 pm, Jesse wrote: > Fabulous, > > That seemed to do the tricked. > > Dreamhost seems to

[web2py] Re: Dream Host Deployment

2010-03-06 Thread Jesse
Fabulous, That seemed to do the tricked. Dreamhost seems to be a bit touchy on which ports you I can use to run web2py on. (ie none of 8000, 8001, 8080, 8081, etc seemed to work) But I just picked a random number and it seems to work like a charm. I'll have to add this to Dreamhost's wiki. Than

Re: [web2py] Re: Dream Host Deployment

2010-03-06 Thread Kuba Kucharski
let's get you through it. for development I use two instances of web2py. one: python web2py.py -i public_ip -p 80 -a "" two: python web2py.py -i public_ip -p 8001 -a "password" one instance serves my beta testers and users, the second on runs just for me then I do: ssh -L 8001:127.0.0.1:800

[web2py] Re: Dream Host Deployment

2010-03-06 Thread Jesse
Yeah, that either of those sound like what I'll have to do. I tried the ssh tunnel, but it didn't seem to have much effect: ssh -L 80:web2py.mydomain.com:8080 lo...@dreamhost.com ssh -L 8080:localhost:80 lo...@dreamhost.com [and various other permutations] I then tried going to localhost:8080 and

Re: [web2py] Re: Dream Host Deployment

2010-03-04 Thread Thadeus Burgess
When I ran web2py on dreamhost I just edited my admin application and removed the checks for https. Of course your best option is to use a ssh tunnel, forward the port 80 of the server to your local port 8080 or something, since admin allows any localhost connections to access it will work. -Tha

[web2py] Re: Dream Host Deployment

2010-03-04 Thread Jesse
Looks like setting up self signed SSL on dreamhost requires a unique IP (for extra $) which I'm not exactly up for just to learn web2py (yes I know I can run it on my own computer). As for I believe doing an SSH tunnel I don't entirely see how that would let me log into the admin pages. Any other

[web2py] Re: Dream Host Deployment

2010-03-04 Thread Jesse
Using virtualenv seemed to do the trick. Although, I'm sure it doesn't matter now when I ran "import dbhash" I got a several line long error: Traceback (most recent call last): File "", line 1, in File "/home/username/opt//lib/python2.5/dbhash.py", line 5, in import bsddb File "/home/u

[web2py] Re: Dream Host Deployment

2010-03-04 Thread rppowell
I use Dreamhost but I got things working with FastCGI. I have documented the steps here: http://www.web2pyslices.com/main/slices/take_slice/68 This is not the best/only way to do it, but I got it working (and in a sub-directory/sub-url too). -rppowell -- You received this message because you a

[web2py] Re: Dream Host Deployment

2010-03-03 Thread mr.freeze
I just went through the setup again (with virtualenv though) and it worked like a charm. It must be related to your python install. What happens if you open a python shell and type 'import dbhash'? On Mar 3, 8:58 pm, Jesse wrote: > I tried running the python code from the passenger_wsgi.py manual

[web2py] Re: Dream Host Deployment

2010-03-03 Thread Jesse
I tried running the python code from the passenger_wsgi.py manually to see if there were any issues. When I got down to import gluon.main I got: WARNING:root:unable to import dbhash issues??? My passenger_wsgi.py / wsgihandler.py code: #!/usr/bin/env python # -*- coding: utf-8 -*- """ This is a