-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 762 Bytes
/
Makefile
File metadata and controls
29 lines (23 loc) · 762 Bytes
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
29
local:
cd app && uvicorn core.fast_api_endpoints:app --host 0.0.0.0 --port 8003 --reload
init:
sudo docker compose up
format:
black --line-length 80 app/core/api_resources.py
black --line-length 80 app/core/celery_scheduler.py
black --line-length 80 app/core/celery_worker.py
black --line-length 80 app/core/constants.py
black --line-length 80 app/core/models.py
black --line-length 80 app/core/random_mouse.py
black --line-length 80 app/core/redis_cache.py
black --line-length 80 app/core/task_manager.py
black --line-length 80 app/tests/*
refresh:
docker compose stop
docker compose up
tests:
sudo docker compose run app pytest -vv
clear_imgs:
python3 app/scripts/clear_img_data.py
clear_src:
sudo python3 app/scripts/reset_collections.py