http://community.apachefriends.org/f/viewtopic.php?f=17&t=42981
Stop at the point where you have VirtualEnv installed and working.
Be sure you are working in your new virtual ENV environment:
- Code: Select all
cd $HOME
source ENV/bin/activate
To install Django (WSGI-framework):
- Code: Select all
pip install django
Now let's create our first Django application:
- Code: Select all
mkdir projects
cd projects
django-admin.py startproject helloworld
cd helloworld
And let's run the built-in webserver:
- Code: Select all
python manage.py runserver localhost:8000
Validating models...
0 errors found
Django version 1.2.3, using settings 'helloworld.settings'
Development server is running at http://localhost:8000/
Quit the server with CONTROL-C.
browser to: http://localhost:8000/
Enjoy
-Gerry
And as you can see you can do very similar process for any of the WSGI frameworks. Just follow along the same process as I did for Pylons and Django.
.