quivr/Makefile
Stan Girard bdb115ad0a
feat(profiler): Add pyinstrument package and update Makefile and backend code (#2512)
This pull request adds the pyinstrument package and updates the Makefile
and backend code. The pyinstrument package is used for profiling and the
Makefile and backend code have been modified to support profiling.
2024-04-28 06:10:21 -07:00

31 lines
855 B
Makefile

test:
pytest backend/
dev:
DOCKER_BUILDKIT=1 docker compose -f docker-compose.dev.yml build backend-core
DOCKER_BUILDKIT=1 docker compose -f docker-compose.dev.yml up --build
dev-saas:
docker compose -f docker-compose-dev-saas-supabase.yml build backend-core
docker compose -f docker-compose-dev-saas-supabase.yml up --build
dev-saas-back:
docker compose -f docker-compose-dev-only-back-saas-supabase.yml build backend-core
docker compose -f docker-compose-dev-only-back-saas-supabase.yml up --build backend-core
dev-stan:
docker compose -f docker-compose-no-frontend.dev.yml up --build
prod:
docker compose build backend-core
docker compose -f docker-compose.yml up --build
test-type:
@if command -v python3 &>/dev/null; then \
python3 -m pyright; \
else \
python -m pyright; \
fi
front:
cd frontend && yarn build && yarn start