- Question and Answer django app.
- 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
ormake run2
- Includes production-ready WSGI/HTTP server (bjoern).
- Python 3 ONLY.
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).
- Read LICENSE.