A flask app for tracking oncall rotation
- LDAP (for authentication)
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 on CentOS6 with Python 2.6