-
Notifications
You must be signed in to change notification settings - Fork 112
Doc Update with the missing steps in INSTALL_GUIDE.md #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Updated the missing steps in INSTALL_GUIDE.md to avoid any Setup error
📝 WalkthroughWalkthroughAdded Supabase table creation steps and a warning; renumbered startup steps and introduced an optional Docker Desktop startup; updated backend graphDB startup path and explicit Flask invocation; changed frontend startup to Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📓 Common learningsThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (3)
docs/INSTALL_GUIDE.md (3)
57-70: Clarify directory navigation and add error handling context.The Supabase setup instructions reference two different directories without clearly explaining the relative path structure or whether users should return to the project root between steps. Additionally, the instructions should clarify what to do if SQL scripts are missing or the "Table Not Found" error still occurs after setup.
Consider restructuring for clarity:
-# Step 1: Create integration tables -cd backend/database -# Open the file 01_create_integration_tables.sql, copy all its contents, -# and paste it into the SQL editor of your Supabase project. - -# Step 2: Create additional tables -cd backend/app/database/supabase/scripts -# Copy and paste the SQL scripts in this folder into the SQL editor as well. +# Step 1: Create integration tables +cd backend/database +# Open the file 01_create_integration_tables.sql, copy all its contents, +# and paste it into the SQL editor of your Supabase project. + +# Step 2: Create additional tables +cd ../app/database/supabase/scripts +# Copy and paste the SQL scripts in this folder into the SQL editor as well. + +# Return to project root +cd ../../../../This makes the relative path changes explicit and indicates when users should return to the project root.
88-90: Normalize path notation and clarify Flask command execution.The Windows-style backslash path (
.\backend\app\database\falkor\code-graph-backend\api) is inconsistent with the forward-slash paths used throughout the rest of the guide. Additionally, the Flask command should clarify whether it requires poetry activation or if it assumes the poetry environment is already active.Apply this diff to normalize path notation and add clarity:
-cd .\backend\app\database\falkor\code-graph-backend\api -flask --app index.py run --debug --port 5000 +cd backend/app/database/falkor/code-graph-backend/api +poetry run flask --app index.py run --debug --port 5000Using
poetry runensures consistency with other backend commands and guarantees the command runs within the poetry environment.
181-182: Add setup and startup instructions for FalkorDB section.The FalkorDB section describes its purpose but lacks the concrete setup and startup steps provided for Weaviate and other services. Users will need clear guidance on how to verify FalkorDB is running and how to interact with it.
Expand the FalkorDB section with setup guidance:
### FalkorDB CodeGraph Database -FalkorDB is used to store and query the code graph of repositories, representing files, functions, and their relationships for code analysis. +FalkorDB is used to store and query the code graph of repositories, representing files, functions, and their relationships for code analysis. It runs in Docker as part of the `docker-compose up` command. + +To verify FalkorDB is running: +```sh +docker ps | grep falkordb +``` + +The FalkorDB API runs on port 5000 (see step 8: "Start the backend server").
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
♻️ Duplicate comments (1)
docs/INSTALL_GUIDE.md (1)
83-91: Normalize GraphDB start instructions (path is inconsistent and Windows-only).
Youcd backend(Line 85) and thencd .\backend\...(Line 89), which double-prefixesbackend/and mixes path styles. Recommend a single, repo-root-relative POSIX path (and optionally add a Windows PowerShell equivalent).cd backend poetry run python main.py # Terminal 1 poetry run python start_github_mcp_server.py # Terminal 2 (Start MCP server) # Terminal 3 (Start graphDB) -cd .\backend\app\database\falkor\code-graph-backend\api +cd app/database/falkor/code-graph-backend/api flask --app index.py run --debug --port 5000
🧹 Nitpick comments (1)
docs/INSTALL_GUIDE.md (1)
181-186: DB sections look good; consider linking to the exact compose services/env vars.
The new FalkorDB/Supabase descriptions are helpful; adding a pointer to the relevantdocker-composeservice names and the required Supabase env vars here would make this section more actionable.
|
Could you please review the coderabbit-suggested changes once @Ishtiyaque-Alam ? |
…-Install.md-and-Readme.md-with-missing-steps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
♻️ Duplicate comments (3)
docs/INSTALL_GUIDE.md (3)
62-69: Directory navigation issue persists—needs explicit paths from repo root.The
cdcommands still resolve relative to the previous directory. Aftercd backend/database, the nextcd backend/app/database/supabase/scriptsattempts to change relative tobackend/databaseand will fail. Make all paths explicit from repo root or addcdback to root between steps.🔎 Proposed fix
# Step 1: Create integration tables - cd backend/database + cd backend/database # Open the file 01_create_integration_tables.sql, copy all its contents, # and paste it into the SQL editor of your Supabase project. # Step 2: Create additional tables - cd backend/app/database/supabase/scripts + cd ../../backend/app/database/supabase/scripts # Copy and paste the SQL scripts in this folder into the SQL editor as well.Or use explicit repo-root-relative paths:
# Step 1: Create integration tables - cd backend/database + cd backend/database # Open the file 01_create_integration_tables.sql, copy all its contents, # and paste it into the SQL editor of your Supabase project. + # Return to repo root + cd ../.. + # Step 2: Create additional tables - cd backend/app/database/supabase/scripts + cd backend/app/database/supabase/scripts # Copy and paste the SQL scripts in this folder into the SQL editor as well.
80-80: Fix typo: "docker dekstop" → "Docker Desktop".Minor but visible typo that should be corrected.
🔎 Proposed fix
- Go to docker dekstop and start the containers + Go to Docker Desktop and start the containers
72-72: Clarify Docker section naming for consistency.Section titles "Set up Docker container" (line 72) vs "Start Docker containers" (line 78) are inconsistent. Consider renaming both to "Start Docker containers" or "Start Docker containers (docker-compose up)" to match the first section's command. Optionally, drop the manual Desktop instruction (line 80) or mark it as redundant.
🔎 Proposed refactor
- 7. **Set up Docker container** + 7. **Start Docker containers** ```sh cd backend docker-compose up -d # Start weaviate, falkordb, rabbitmq
- Start Docker containers
- Go to Docker Desktop and start the containers
Or, if the manual Desktop step is intentional: ```diff 7. **Start Docker containers (docker-compose up)** ```sh cd backend docker-compose up -d # Start weaviate, falkordb, rabbitmq
- Start Docker containers
- Go to Docker Desktop and start the containers
8. **Optional: Start Docker containers via Desktop** ```sh Alternatively, open Docker Desktop and start the containers manually.</details> Also applies to: 78-78 </blockquote></details> </blockquote></details> <details> <summary>📜 Review details</summary> **Configuration used**: defaults **Review profile**: CHILL **Plan**: Pro <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between dd55eb7ed9b90e4466dff809a55b3c97341a2b06 and 0cff214106a414652752d2f14779da4f7670e0f9. </details> <details> <summary>📒 Files selected for processing (1)</summary> * `docs/INSTALL_GUIDE.md` </details> <details> <summary>🔇 Additional comments (1)</summary><blockquote> <details> <summary>docs/INSTALL_GUIDE.md (1)</summary><blockquote> `181-185`: **FalkorDB and Supabase database descriptions are clear and helpful.** The additions to the Database Setup section properly document the role of FalkorDB for code graph analysis and Supabase for user data, helping users understand the overall architecture. </blockquote></details> </blockquote></details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
Clarified installation steps by specifying the directory context for creating integration tables and adjusting the path for additional tables.
Updated installation guide to clarify Docker setup steps and corrected formatting.
|
@smokeyScraper I have made the suggested changes , please review it . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: defaults
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/INSTALL_GUIDE.md
🔇 Additional comments (1)
docs/INSTALL_GUIDE.md (1)
181-185: Brief but helpful additions to database descriptions.The new FalkorDB and Supabase database sections (lines 181–185) add useful context without clutter. Descriptions are concise and clearly explain each database's role in the system.
Updated the missing steps in INSTALL_GUIDE.md to avoid any Setup error
Closes #
📝 Description
The INSTALL_GUIDE.md was missing some steps to setup the Supabase Table, proper guide to the flask app path
which raised errors such as 'No Flask app-Found. '
🔧 Changes Made
Added the step to setup the Supabase table.
Added the steps required to reach and run the Flask App
📷 Screenshots or Visual Changes (if applicable)
🤝 Collaboration
NA
Collaborated with:
@username(optional)✅ Checklist
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.