Wednesday, May 13, 2009

Pylons :: how to build environment :: Ubuntu

Few days ago I was fighting with new pylons, now it's a time to describe how I built my new environment...


cd /mnt/
mkdir python2.5-env
cd /python2.5-env/
mkdir project
cd project
easy_install-2.5 virtualenv
sudo easy_install-2.5 virtualenv
virtualenv --no-site-packages --clear .
/mnt/python2.5-env/project/bin/easy_install pylons
/mnt/python2.5-env/project/bin/easy_install -U pylons


and sqlalchemy

/mnt/python2.5-env/project/bin/easy_install -U sqlalchemy


and mysql

/mnt/python2.5-env/project/bin/easy_install mysql-python


That's all!


now we just need to run our application:

/mnt/python2.5-env/project/bin/paster serve --reload some_config_file.ini

Labels: , , ,

develway.pl add this news to develway

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home