mirror of
https://github.com/Sosokker/plain-rag.git
synced 2025-12-18 06:34:03 +01:00
20 lines
560 B
Makefile
20 lines
560 B
Makefile
.PHONY: install-deps create-tables help start
|
|
|
|
help:
|
|
@echo "Available targets:"
|
|
@echo " create-tables - Create database tables using create_tables.py"
|
|
@echo " install-deps - Install Python dependencies using uv"
|
|
@echo " start - Start fastAPI server on port 8000"
|
|
@echo " help - Show this help message"
|
|
|
|
install-deps:
|
|
uv sync --locked --no-install-project --no-dev
|
|
|
|
create-tables:
|
|
@echo "Creating database tables..."
|
|
uv run python scripts/create_tables.py
|
|
|
|
start:
|
|
uv run uvicorn app.main:app --port 8000
|
|
|
|
.DEFAULT_GOAL := help
|