Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 787 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 787 Bytes

Oncall

A flask app for tracking oncall rotation

Requirements

  • LDAP (for authentication)

Installation

Build the config file settings.testing.cfg:

SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/test.db'
SECRET_KEY = 'CHANGEME'

LDAP_HOST = '127.0.0.1'
LDAP_PORT = 389
LDAP_BASE_DN = 'dc=my-domain,dc=com'
LDAP_PEOPLE_OU = 'ou=People'
LDAP_SYNC_USER_FILTER = '(objectClass=person)'
LDAP_SYNC_GROUP_FILTER = '(objectClass=posixGroup)'

Virtualenv is the easiest:

git clone github.com:kincl/oncall
cd oncall
virtualenv .
. bin/activate
pip install -r requirements.txt

export ONCALLAPP_SETTINGS=$(pwd)/settings.testing.cfg

python manage.py init_db
python manage.py sync_ldap
python manage.py runserver -r

Tested

Tested on CentOS6 with Python 2.6