feat: add init project to Makefile

This commit is contained in:
2025-04-03 12:26:54 +05:00
parent 8b62b8b7a6
commit 83b723f5b9
3 changed files with 71 additions and 0 deletions

View File

@@ -37,5 +37,14 @@ revision:
cd $(API_APPLICATION_NAME)/db && \
PYTHONPATH='../..' ALEMBIC_MIGRATIONS=True alembic revision --autogenerate
venv-api:
cd api && \
poetry install
install:
make migrate head && \
cd api && \
poetry run python3 api/utils/init.py
%::
echo $(MESSAGE)