Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ helm-chart/charts/rag-0.0.1.tgz
pyrightconfig.json
notes*.md
notes.md

auth
*-values.yaml
# Node Modules
node_modules/



# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
14 changes: 12 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lint:
cd rag-core-library;make lint
cd admin-backend;make lint
cd rag-backend;make lint
cd document-extractor;make lint
cd document-extractor;make lint

update-lock:
cd rag-core-library;make update-lock
Expand All @@ -16,4 +16,14 @@ black:
cd rag-core-library;make black
cd admin-backend;black .
cd rag-backend;black .
cd document-extractor;black .
cd document-extractor;black .

IMAGE_TAG?=v1.0.0
REGISTRY?=

build_and_push:
docker buildx build --platform linux/amd64 -t $(REGISTRY)/rag-backend:$(IMAGE_TAG) -f rag-backend/Dockerfile --push .
docker buildx build --platform linux/amd64 -t $(REGISTRY)/admin-backend:$(IMAGE_TAG) -f admin-backend/Dockerfile --push .
docker buildx build --platform linux/amd64 -t $(REGISTRY)/document-extractor:$(IMAGE_TAG) -f document-extractor/Dockerfile --push .
docker buildx build --platform linux/amd64 -t $(REGISTRY)/frontend:$(IMAGE_TAG) -f frontend/apps/chat-app/Dockerfile --push .
docker buildx build --platform linux/amd64 -t $(REGISTRY)/admin-frontend:$(IMAGE_TAG) -f frontend/apps/admin-app/Dockerfile --push .
1 change: 1 addition & 0 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ value_override = [
# variables
"shared.debug.backend.enabled=%s" % backend_debug,
"features.frontend.enabled=true",
"features.minio.enabled=true",
"shared.config.tls.enabled=false",
"shared.ssl=false",
# ingress host names
Expand Down
2 changes: 1 addition & 1 deletion rag-infrastructure
Loading