Skip to content

risb0r/qdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QDB

Build Status

Installation

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.

UWSGI

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

License

The contents of this repository is released under the MIT license. See the LICENSE file included for more information.

About

IRC quote database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 65.3%
  • HTML 14.6%
  • JavaScript 10.7%
  • CSS 6.9%
  • Mako 1.4%
  • Shell 1.1%