Skip to content
forked from kincl/oncall

Flask app to track oncall rotations

License

Notifications You must be signed in to change notification settings

rmadamson/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

Languages

  • HTML 73.4%
  • JavaScript 22.3%
  • Python 3.3%
  • Other 1.0%