You've already forked oncall
mirror of
https://github.com/linkedin/oncall.git
synced 2026-04-26 21:12:17 +02:00
a5df8c430c
* Allow configuring team managed message HTML. * Allows configuring 'team_managed_message', creates a managed team in dummy data for testing. Updates README.md with docker compose instructions. * Format README.md a bit better. * Remove log.
38 lines
437 B
Makefile
38 lines
437 B
Makefile
all: serve
|
|
|
|
serve:
|
|
oncall-dev ./configs/config.yaml
|
|
|
|
unit:
|
|
py.test -v ./test
|
|
|
|
e2e:
|
|
py.test -v ./e2e
|
|
|
|
test:
|
|
make unit
|
|
make e2e
|
|
|
|
static-analysis:
|
|
pyflakes test src
|
|
|
|
flake8:
|
|
flake8 src test setup.py
|
|
|
|
check:
|
|
make static-analysis
|
|
make flake8
|
|
make test
|
|
|
|
.PHONY: test e2e
|
|
|
|
APP_NAME=oncall
|
|
|
|
build:
|
|
docker build --ulimit nofile=1024 -t $(APP_NAME) .
|
|
|
|
run: build
|
|
docker run -p 8080:8080 $(APP_NAME)
|
|
|
|
compose:
|
|
docker compose up --build
|