Pylons :: how to build environment :: Ubuntu
May 14, 2009 | frameworks, linux, pythonauthor: Karol Zielinski | comments: 1 | views: 788
Tags: environment, pylons, python, 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
Hello, I'm Karol Zielinski, internet evangelist, an entrepreneur, project manager and a web developer from Gdynia, Poland. I like creative design, good advertisement, social media and all kind of stuff around the web.
September 16, 2009, 6:43 am
[...] is always a good idea to run your python projects via paster + nginx. Some time ago I wrote about building environment for pylons projects on ubuntu, so that shouldn’t be a problem. Now… let create some kind of script to start, stop and [...]