Setting-up Pylons in 5 mins

Posted on Mon 21 September 2009 in misc

Really just a recap of http://pylonshq.com/docs/en/0.9.7/gettingstarted/#installing

Here we go:

#> wget http://www.pylonshq.com/download/0.9.7/go-pylons.py
#> python2.6 go-pylons.py mydevenv

Everytime we work on a virtual pylons installation run the following script

#> source mydevenv/bin/activate

Create a new project

#> paster create -t pylons helloworld

Create a controller

#> paster controller hello

Fireup the webserver on localhost:5000

#> paster serve --reload development.ini