How to Install and Run Django on Windows (Vista)
/*--- holy mAcar00ns!! --- */
It's tarred and gunzipped, so use 7-zip to extract it.
Put the extracted directory somewhere.
In your console, cd to the directory (Django-0.96.1 or whatever).
Run this command in the console:
python setup.py install
Start python by typing 'python' at the command line.
>>> import django
(0, 96.099999999999994, None)
Add to your path (see my post about setting path in Vista):
You may need to restart console if the path doesn't update (if you changed it via windows see my blog post.)
C:\django_projects>django-admin.py startproject mysite
that creates the directory with 4 python files
Then start the server that it comes with:
C:\django_projects\mysite>python manage.py runserver
0 errors found.
Django version 0.96.1, using settings 'mysite.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Now go to:
Now you have Django on Windows!
all your bases ar--
ping moi pleeez
About this entry
You’re reading “
- 11:54 AM
pacman is coming
e belong to us!