Code Monkey home page Code Monkey logo

quanda's Introduction

What is it
==========

Quanda is a community-driven question and answer framework.

It is open source and written as a django reusable application.

Install
=======

* Add the quanda directory to your python site-packages

* Add quanda to your installed apps
INSTALLED_APPS = (
    ...
    'quanda',
    ...
)

* Quanda assumes the following contrib apps are enabled:
 - admin
 - auth
 - contenttypes
 - session
 - sitemaps
 - sites (only needed to get your site's name for rss and seo)

* Include the url file to your urls:
urlpatterns = pattern('',
   ...
   (r'^quanda/', include('quanda.urls'),
   ...
)
 
* sync the db:
$ python manage.py syncdb

* run the install view
Once you have quanda up and running, go to /install to run the install process
(this has to be done as a staff user)

* note: for the default templates that you'll no doubt override, quanda assumes
that your login as at /accounts/login, your registration at /accounts/register/
and your logout as /accounts/logout.

* Quanda uses TinyMCE_ in the ask question and answer question textareas. You
should specify the location of your tiny_mce.js file  in the
TINY_MCE_JS_LOCATION config variable. If quanda doesn't find it, it will use
the js file from teebes.com instead

_ http://tinymce.moxiecode.com/

Configuration
=============

# the rewards given per question or answer voted on
QUESTION_VOTED_UP (default 10)
QUESTION_VOTED_DOWN (default 5)
ANSWER_VOTED_UP (default 10)
ANSWER_VOTED_DOWN (default 5)

# the requirements to vote on questions & answers, as well as leave comments
VOTE_QUESTION_UP_REP (default 0)
VOTE_QUESTION_DOWN_REP (default 0)
VOTE_ANSWER_UP_REP (default 0)
VOTE_ANSWER_DOWN_REP (default 0)
LEAVE_COMMENT (default 0)

# the location of the tiny_mce.js file
TINY_MCE_JS_LOCATION (default 'http://teebes.com/static/js/tiny_mce/tiny_mce.js')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.