Skip to content

DanielThomas/OSQA

 
 

Repository files navigation

This is a fork of the read-only SVN clone of OSQA for improvements and bug fixes. For details of the improvements, see the following posts on OSQA meta:

This fork also significantly improves performance by addressing a template parsing overhead problem. I also strongly recommend using pgpool2 for production environments:

I'm happy to accept pull requests and if there's demand, I'd consider making this a maintained, legitimate fork of OSQA. Development/maintenance appears to have slowed significantly.

Quick Start

Assuming an existing Python and PostgreSQL installation (Mac OS/brew in my case).

You'll need to install the following:

pip install Django==1.3.7
pip install Markdown==2.4.1
pip install html5lib
pip install django-endless-pagination
pip install psycopg2

And create the database for OSQA:

createuser -P osqa
psql template1
CREATE DATABASE osqa OWNER osqa;

Copy settings_local.py.dist to settings_local.py. Update the database settings:

DATABASES = {
    'default': {
        'ENGINE': 'postgresql_psycopg2',
        'NAME': 'osqa',
        'USER': 'osqa',
        'PASSWORD': 'osqa',
        'HOST': 'localhost',
        'PORT': '5432',
    }
}

And the application URL:

APP_URL = 'http://localhost'

Create the schema and start a development server:

python manage.py syncdb
python manage.py runserver

Finally, access OSQA for the first time and register an account. That account will be granted administrator privileges.

About

A fork including improvements to OSQA. Taken from a read-only git mirror of the official OSQA SVN repository (http://svn.osqa.net/svnroot/osqa/trunk).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 60.0%
  • JavaScript 36.5%
  • CSS 3.5%