Polish onboarding: venv activation in setup output, clarify .env as primary config

This commit is contained in:
Himanshu Dongre 2026-04-13 15:16:48 +05:30
parent 4ddd0e2ef7
commit f6d43f8831
2 changed files with 6 additions and 1 deletions

View file

@ -75,4 +75,7 @@ setup: ## Full local setup (venv + deps + migrations)
cp -n .env.example .env || true
$(MAKE) install
$(MAKE) migrate
@echo "\n✅ Setup complete! Run: make dev (backend) / make dev-frontend (frontend)"
@echo "\n✅ Setup complete!"
@echo " Activate the CLI: source backend/.venv/bin/activate"
@echo " Start backend: make dev"
@echo " Start frontend: make dev-frontend"

View file

@ -182,6 +182,8 @@ cd smriti
cp .env.example .env
# Edit .env to add your API keys (OpenAI, Anthropic, or both).
# Leave keys commented out to use mock mode (no real LLM calls).
# .env is the primary config path. config/providers.yaml is optional
# and gitignored — you do not need it for a standard setup.
docker compose up -d postgres # start the database
make setup # backend venv + deps + migrations + CLI + frontend