How-To: Add VirtualEnv and Django (WSGI framework) to XAMPP

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How-To: Add VirtualEnv and Django (WSGI framework) to XAMPP

Postby greno » 07. December 2010 00:14

Start by following the How-To: Add VirtualEnv and Pylons (WSGI framework) to XAMPP:

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 startproject helloworld
cd helloworld

And let's run the built-in webserver:
Code: Select all
python 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/




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.

Posts: 54
Joined: 04. October 2006 19:25

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests