{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "hkuds-lightrag--configure-lightrag-with-the-setup-wizard",
 "repo": "HKUDS/LightRAG",
 "repo_url": "https://github.com/HKUDS/LightRAG",
 "repo_slug": "hkuds-lightrag",
 "title": "Configure LightRAG safely with the setup wizard",
 "page_title": "How to configure LightRAG safely with the setup wizard with LightRAG",
 "summary": "Use the interactive make targets to generate .env, add storage backends and audit security.",
 "who": "Someone who finds the long env.example intimidating and wants a guided, safe setup.",
 "problem": "Hand-editing a large config file is easy to get wrong, especially auth and storage settings.",
 "outcome": "A configured .env, optional compose services for storage, and a security audit of the result.",
 "steps": [
  "Install from source with `git clone https://github.com/HKUDS/LightRAG.git`, `cd LightRAG` and `make dev`",
  "Run `make env-base` to set the LLM, embedding and reranker",
  "Add storage backends and databases with `make env-storage` if you need them",
  "Set port, auth and SSL with `make env-server`",
  "Audit the result with `make env-security-check`, then launch with `lightrag-server`"
 ],
 "agent_prompt": "Set up HKUDS/LightRAG from source using the setup wizard: run make env-base for <LLM>, make env-storage for <backend>, make env-server with auth on, then make env-security-check. Fix anything the check flags before starting lightrag-server.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "make dev installs the test toolchain, the offline stack and builds the frontend, so the first run downloads a lot.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python with uv (recommended) or pip, or Docker Compose",
  "An LLM and an embedding model configured in .env",
  "Optional: storage backends such as PostgreSQL, Neo4j or OpenSearch"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/hkuds-lightrag/configure-lightrag-with-the-setup-wizard/",
 "md": "https://dedupedai.com/use-cases/hkuds-lightrag/configure-lightrag-with-the-setup-wizard/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/hkuds-lightrag--configure-lightrag-with-the-setup-wizard.json",
 "api_version": "v1"
}
