I had some trouble while deploying Django for the information portal that I designed for Kurukshetra 2008. These are the final steps that I came up with:
- Install xampp
- Install python and mysqldb
- Install mod_python
- Add ‘LoadModule python_module modules/mod_python.so’ to httpd.conf in apache/bin
- Copy django folder inside ‘C:\Python25\Lib\site-packages’
- Rem to add python25,its scripts folders to system path
- Configure Apache
- Copy files from coding2 to dprojects folder
- create new user in phpmyadmin
- download and setup PIL
- python manage.py syncdb
Code to configure Apache:
SetHandler python-program PythonPath "['C:\django'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE testproject.settings PythonDebug On SetHandler None SetHandler None
I`m aware most of this can be found on the web with a little googling. Just to save myself some effort when I lose my files and begin to google again
Life saver!!!!! thanks!
Glad to have been of help