Django on Window XP (March 13, 2007)

26 01 2008

Below is post in my previous attempt on blog on my django study. Since I decide to close it a do all my blogging here, I copy them to here.

1. Install Django on Window XP

play with python for some time, wanna try the django for python wed dev.

some due some reasons, I need to running on ms window. below is the not how I install the django

1. install python
I choose late 2.5 and the using msi installer.

2. install sqlite
go link http://www.initd.org/pub/software/pysqlite/releases/2.3/2.3.3/ release build much your python version, pysqlite-2.3.2-win32-py2.5.exe

3. install django
I’m using installer, can get it here: http://ymasuda.jp/python/django/minimal_win32_django_installation_e.html

everything is straight forwards, hope it will got a bulk installation like appfuse to simplify things further.

reference link:
http://ymasuda.jp/python/django/minimal_win32_django_installation_e.html

1. add python into default path
- control panel / system
- edit environment
- add C:\Python25 and C:\Python25\Scripts into “path”

2. create directory C:\django

3. create project
- cd C:\django
- django-admin.py startproject newproject

4. create appl.
- cd C:\django\newproject
- django-admin.py startapp newapp

5. test run
- cd C:\django
- python manage.py runserver (default using port 8000)


Actions

Information

Leave a comment