I want to install OSQA on a local Windows system. I\'ve downloaded bitnami-djangostack-1.1.1-2-windows-installer.exe, which has django, python, mysql and apache built in.
<
Download http://svn.osqa.net/svnroot/osqa/trunk to a folder {OSQA_ROOT}
eg, c:\osqa
Rename {OSQA_ROOT}\settings_local.py.dist
to {OSQA_ROOT}\settings_local.py
set following in {OSQA_ROOT}\settings_local.py
DATABASE_NAME = 'osqa' # Or path to database file if using sqlite3.
DATABASE_USER = 'root' # Not used with sqlite3.
DATABASE_PASSWORD = 'PASSWD' # Not used with sqlite3. put bitnami here
DATABASE_ENGINE = 'mysql' #mysql, etc
add following {DJANGOSTACK}\apps\django\conf\django.conf
, /
means root folder like http://localhost
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonPath "['{OSQA_ROOT}'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE osqa.settings
PythonDebug On
instasll markdown2 and html5lib with easy_install.exe, which is inside {DJANGOSTACK}\python\Scripts\
easy_install markdown2
easy_install html5lib
create new db called osqa
with mysqladmin.exe which is in {DJANGOSTACK}\mysql\bin
mysqladmin create osqa
syncdb
{DJANGOSTACK}\python\python.exe manage.py syncdb
enjoy!
alt text http://img87.imageshack.us/img87/723/osqabitnamidjangostack.png
Note:
{OSQA_ROOT}
=> osqa trunk directory{DJANGOSTACK}
=> BitNami DjangoStack install directory