-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (24 loc) · 1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: update-deps
update-deps:
pip install --upgrade pip-tools pip setuptools
# pip-compile --upgrade --build-isolation --generate-hashes --output-file requirements/main.txt requirements/main.in
# pip-compile --upgrade --build-isolation --generate-hashes --output-file requirements/dev.txt requirements/dev.in
pip-compile --upgrade --build-isolation --output-file requirements/main.txt requirements/main.in
pip-compile --upgrade --build-isolation --output-file requirements/dev.txt requirements/dev.in
.PHONY: init
init:
pip install --editable .
pip install --upgrade -r requirements/main.txt -r requirements/dev.txt
rm -rf .tox
pip install --upgrade tox
pre-commit install
.PHONY: update
update: update-deps init
.PHONY: run
run:
docker-compose up -d
holdup -t 60 -T 5 -i 1 -n --insecure http://localhost:8081/subjects
SAFIR_KAFKA_BROKER_URL=localhost:9092 SAFIR_SCHEMA_REGISTRY_URL=http://localhost:8081 adev runserver --app-factory create_app src/ltdevents/app.py
.PHONY: stop
stop:
docker-compose down