pylons on production server fedora 8

Posted by stormdrain on Stack Overflow See other posts from Stack Overflow or by stormdrain
Published on 2010-03-26T01:14:18Z Indexed on 2010/03/26 1:23 UTC
Read the original article Hit count: 415

Filed under:
|

I'm interested in learning some python, and thought Pylons would be a good starting point (after spending 2 days trying to get django working -- to no avail).

I have an Amazon EC2 instance with Fedora 8 on it. It is a bare-bones install. I am halfway through my second day of trying to get it to work. I have mod_wsgi installed. I have Apache (though that's a later task to tackle). I have easy_install, paster is working fine; basically all of the pre-requisites mentioned throughout the Pylons docs.

I can't for the life of me get the thing to work. And I can't seem to find a coherent walkthough anywhere that lists all the steps necessary. There is tons of info out there, but it is all scattered. Wsgi this, python that. Google, google, google... "47 million results found for 'socket.error:(lol, 'Yous a goofs')".

So, this is my latest attempt:

apachectl -k stop

cd /home/

paster create -t pylons test

[blah blah.. ok]

cd test

nano development.ini

[hmm, last time I changed the host from 127.0.0.1 to my domain name or url, it threw an error like socket.error: (99, 'Cannot assign requested address')... I'll just leave it]

[open port 5000 on firewall]

paster serve development.ini

[firefox->url:5000]

Firefox can't establish a connection to the server


Doing these steps locally works as expected.

This is just a test to see if I can get it to work at all, which I can't. If I get it to work, then is the task of getting it to work with apache.

My madness is that I'd like to play around a little developing and deploying before diving into a full-fledged project. So far: self, I am dissapoint.

© Stack Overflow or respective owner

Related posts about pylons

Related posts about fedora