Skip to content
/ oncall Public
forked from linkedin/oncall

Oncall is a calendar tool designed for scheduling and managing on-call shifts. It can be used as source of dynamic ownership info for paging systems like http://iris.claims.

License

Notifications You must be signed in to change notification settings

pet0m/oncall

This branch is 6 commits behind linkedin/oncall:master.

Folders and files

NameName
Last commit message
Last commit date
Dec 7, 2022
Dec 7, 2022
Jan 16, 2024
Oct 2, 2023
Dec 18, 2023
May 9, 2022
Dec 18, 2023
Oct 2, 2023
Dec 18, 2023
Jan 15, 2020
Jan 4, 2021
May 2, 2017
Jun 7, 2023
May 2, 2017
Apr 25, 2022
May 2, 2017
Mar 14, 2018
Oct 2, 2023
May 2, 2017
May 20, 2017
Oct 2, 2023
Apr 14, 2022
Mar 30, 2023
Oct 2, 2020

Repository files navigation

Oncall Gitter chat Build Status

See admin docs for information on how to run and manage Oncall.

Development setup

Local machine

See instructions for setting up Oncall on your local machine

Prerequisites

  • Debian/Ubuntu - sudo apt-get install libsasl2-dev python3-dev libldap2-dev libssl-dev python-pip python-setuptools mysql-server mysql-client

Install

python setup.py develop
pip install -e '.[dev]'

Setup mysql schema:

mysql -u root -p < ./db/schema.v0.sql

Setup app config by editing configs/config.yaml.

Optionally, you can import dummy data for testing:

mysql -u root -p -o oncall < ./db/dummy_data.sql

Run

One of the following commands:

  • goreman start
  • procman start
  • make serve
  • oncall-dev ./configs/config.yaml

Test

make test

Docker compose

See instructions for using docker compose

Running

make compose

or running docker compose directly:

docker compose up --build

Limitations

  • Doesn't currently provide a mechanism for running tests
  • Requires rebuilding to apply code changes
  • Doesn't tail Python logs to stdout

Contributing

Check out https://github.com/linkedin/oncall/issues for a list of outstanding issues, and tackle any one that catches your interest. Contributions are expected to be tested thoroughly and submitted with unit/end-to-end tests; look in the e2e directory for our suite of end-to-end tests.

About

Oncall is a calendar tool designed for scheduling and managing on-call shifts. It can be used as source of dynamic ownership info for paging systems like http://iris.claims.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 44.7%
  • JavaScript 40.1%
  • HTML 9.8%
  • CSS 5.1%
  • Shell 0.1%
  • Dockerfile 0.1%
  • Other 0.1%