Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

kincl/oncall

Repository files navigation

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

About

Flask app to track oncall rotations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published