Home

Awesome

Oncall Gitter chat Build Status

<p align="center"><img src="https://github.com/linkedin/oncall/raw/master/docs/source/_static/demo.png" width="600"></p>

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

Development setup

Local machine

<details> <summary>See instructions for setting up Oncall on your local machine</summary>

Prerequisites

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:

Test

make test
</details>

Docker compose

<details> <summary>See instructions for using <code>docker compose</code></summary>

Running

make compose

or running docker compose directly:

docker compose up --build

Limitations

</details>

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.