Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 811 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 811 Bytes

qxn

  • Question and Answer django app.

Installation

  • Clone this repo into virtual env
  • Install dependencies: pip install -r requirements.txt
  • Add your custom configuration in qxn/custom.py
  • Configure your database, or skip it for sqlite
  • Run migration: ./manage.py migrate
  • Run server make run or make run2

Features

  • Includes production-ready WSGI/HTTP server (bjoern).
  • Python 3 ONLY.

WSGI/HTTP Server

To use the included WSGI/HTTP server do as follows:

  • Activate virtual env
  • Run ./server.py for example:
  • ./server.py #will run the server by default on localhost:8000
  • ./server.py -u /tmp/qxn.sock # will run the server on unix socket (make since when used behind reverse proxy like nginx).

License

  • Read LICENSE.