Skip to content

Commit 735189b

Browse files
authored
Create Makefile
1 parent 6ca67a5 commit 735189b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.PHONY: run run-docker create-migrations run-migrations install test
2+
3+
run:
4+
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
5+
6+
run-docker:
7+
docker-compose up --build -d
8+
9+
create-migrations:
10+
alembic revision --autogenerate -m "$(m)"
11+
12+
run-migrations:
13+
alembic upgrade head
14+
15+
install:
16+
pip install -r requirements.txt
17+
18+
test:
19+
pytest -q

0 commit comments

Comments
 (0)