Skip to main content

Oncall is a calendar tool designed for scheduling and managing on-call shifts

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oncall-2.1.6.tar.gz (581.8 kB view details)

Uploaded Source

Built Distribution

oncall-2.1.6-py3-none-any.whl (644.4 kB view details)

Uploaded Python 3

File details

Details for the file oncall-2.1.6.tar.gz.

File metadata

  • Download URL: oncall-2.1.6.tar.gz
  • Upload date:
  • Size: 581.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for oncall-2.1.6.tar.gz
Algorithm Hash digest
SHA256 a20d4b2d7bbe7110efe74a88f00ccfe9bb5c06d6f5b372f162b550cebeef13e3
MD5 dc002048e6d9d29dac8821abede6e85f
BLAKE2b-256 33b2ed13fae91ec50099c4ebdfa1b3b2099d48cb96d423ed9a897551d7299d67

See more details on using hashes here.

File details

Details for the file oncall-2.1.6-py3-none-any.whl.

File metadata

  • Download URL: oncall-2.1.6-py3-none-any.whl
  • Upload date:
  • Size: 644.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for oncall-2.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d2130032c784f9feb803ba4e66253b6fe02ca4eee12c376d4d9d54453943c0e0
MD5 5be186b3358f69eda0b6531e92ec6743
BLAKE2b-256 0378c6ddadb303f8240e465286a18f41100d5e2ef4848a73f622813a51a36b0d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page