IRC quote database
https://github.com/anlutro/qdb.git
Clone the repository:
$ git clone https://github.com/anlutro/qdb $ cd qdb
Create a virtualenv for python 3:
$ virtualenv -p python3 .virtualenv
Activate the virtualenv:
$ source ./.virtualenv/bin/activate
Install dependencies with pip - choose one, depending on where you're installing:
$ pip install -r requirements/dev.txt $ pip install -r requirements/prod.txt
Copy the config example file to config.py:
$ cp config.example.py config.py
Replace the data in config.py as needed.
Run the application (for local development only):
$ ./run
Go to localhost:5000 in your browser of choice to make sure it works.
In production I recommend running the app with uWSGI. Here's an example uwsgi.ini:
[uwsgi] plugin = python3,logfile module = qdb:app chdir = /var/www/qdb venv = /var/www/qdb/.virtualenv logger = file:/var/log/www/qdb/uwsgi.log lazy-apps = True master = True
The contents of this repository is released under the MIT license. See the LICENSE file included for more information.