mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-29 14:57:03 +03:00
fccd197511
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate): --------- Co-authored-by: AmineDiro <aminedirhoussi1@gmail.com>
38 lines
981 B
Makefile
38 lines
981 B
Makefile
test:
|
|
pytest backend/
|
|
|
|
dev-build:
|
|
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:
|
|
DOCKER_BUILDKIT=1 docker compose -f docker-compose.dev.yml up
|
|
|
|
|
|
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
|
|
|
|
test:
|
|
cd backend/core && ./scripts/run_tests.sh
|