diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fb37b52..37657c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,8 +27,15 @@ make dev make dev-frontend ``` -`make setup` installs everything: the backend, the CLI (`smriti` + `smriti-mcp` on -your PATH), and the frontend. Open `http://localhost:5173` for the chat UI. +`make setup` installs the backend, the CLI (`smriti` + `smriti-mcp`), and the +frontend. The CLI is installed into the backend venv at `backend/.venv/bin/`. +Activate the venv to use it from your shell: + +```bash +source backend/.venv/bin/activate +``` + +Open `http://localhost:5173` for the chat UI. --- diff --git a/README.md b/README.md index 822f85f..fec7aa4 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,13 @@ docker compose up -d postgres # start the database make setup # backend venv + deps + migrations + CLI + frontend ``` -`make setup` installs everything: the backend, the CLI (`smriti` + `smriti-mcp` on your PATH), and the frontend. +`make setup` installs the backend, the CLI (`smriti` + `smriti-mcp`), and the frontend. The CLI binaries are installed into the backend venv at `backend/.venv/bin/`. To use them from your shell, activate the venv: + +```bash +source backend/.venv/bin/activate +``` + +Or reference them by full path (e.g. `backend/.venv/bin/smriti state ...`). The SessionStart hook in `.claude/settings.json` already uses the full path so it works without activation. ### 2. Start the backend and frontend