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.
I've run a django example given on the django website and it's working fine.
But I'm confused how to install OSAQ. I've downloaded the source code from the OSQA site and read the installation instructions (it requires django 1.1.1), but I can't make it work.
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
<location '/'>
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonPath "['{OSQA_ROOT}'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE osqa.settings
PythonDebug On
</location>
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 directoryYou can download a Windows installer here:
http://bitnami.org/stack/osqa
Just tried it and it works great, the installer prompts for the information it needs and at the end it will launch the site, and it all just works! 10/10
Please check this very simple guide: Installing OSQA on Windows with IIS in production
http://meta.osqa.net/question/121/installing-osqa-on-windows-2008-server-with-iis7
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With