Skip to content

Conversation

@Ishtiyaque-Alam
Copy link

@Ishtiyaque-Alam Ishtiyaque-Alam commented Dec 13, 2025

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

  • I have read the contributing guidelines.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added necessary documentation (if applicable).
  • Any dependent changes have been merged and published in downstream modules.

Summary by CodeRabbit

Documentation

  • Reorganized and improved the installation guide with clearer, more detailed setup instructions
  • Added a dedicated Supabase database table creation section with important requirements and error prevention notes
  • Enhanced database configuration documentation for FalkorDB CodeGraph, Weaviate, and Supabase integrations
  • Updated backend and frontend startup procedures with refined commands and improved cross-platform support

✏️ Tip: You can customize this high-level summary in your review settings.

Updated the missing steps in INSTALL_GUIDE.md to avoid any Setup error
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 13, 2025

Walkthrough

Updated installation guide: added a new Supabase table-creation step, renumbered subsequent startup steps, revised backend/frontend startup commands, and added FalkorDB and Supabase database description sections; minor wording and ordering adjustments throughout docs/INSTALL_GUIDE.md. (49 words)

Changes

Cohort / File(s) Summary
Installation guide
docs/INSTALL_GUIDE.md
Added step 6 to create Supabase tables with SQL-in-editor instructions; renumbered subsequent steps (Docker, backend, frontend); revised backend and frontend startup commands (including Windows-style path examples and new Flask invocation); added FalkorDB CodeGraph section; expanded Supabase and Weaviate context and environment-variable notes; minor textual edits for clarity and order

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify consistent renumbering across the document (all references, TOC, cross-links).
  • Confirm SQL snippets and Supabase table instructions are accurate and sufficient.
  • Check backend/frontend command examples for correctness (paths, commands, platform notes).
  • Validate descriptions for FalkorDB and Supabase align with current implementation/env vars.

Possibly related PRs

Poem

🐰 I hopped through docs to add a clue,
Tables for Supabase, neat and true,
FalkorDB tucked in a tidy line,
Steps renumbered, commands align —
A tiny hop, the guide feels new! 🥕

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding missing steps to the INSTALL_GUIDE.md documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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 5000

Using poetry run ensures 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").
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8eeacad and 510ea12.

📒 Files selected for processing (1)
  • docs/INSTALL_GUIDE.md (2 hunks)

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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).
You cd backend (Line 85) and then cd .\backend\... (Line 89), which double-prefixes backend/ 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 relevant docker-compose service names and the required Supabase env vars here would make this section more actionable.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 510ea12 and dd55eb7.

📒 Files selected for processing (1)
  • docs/INSTALL_GUIDE.md (2 hunks)

Comment on lines +57 to +70
6. **Create the required Supabase Tables**
```sh
# This can be done using the Supabase CLI or by pasting the SQL scripts directly into the SQL editor in Supabase.
# If you skip this step, you'll likely get a 'Table Not Found' error.

# 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.
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Fix cd flow in Supabase table setup (current commands likely land in the wrong directory).
After cd backend/database, the next cd backend/app/... will try to resolve inside backend/database. Consider making all paths explicitly “from repo root” (or cd back to root between steps).

-# Step 1: Create integration tables
-cd backend/database
+# Step 1: Create integration tables (from repo root)
+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.
🤖 Prompt for AI Agents
In docs/INSTALL_GUIDE.md around lines 57 to 70 the sequence of cd commands can
resolve relative to the previous directory and land in the wrong path; make the
paths explicit from the repository root or add a cd back to repo root between
steps so each step runs from a known location (for example, use absolute
repo-root-relative paths like ./backend/database and
./backend/app/database/supabase/scripts or insert a cd to the repository root
before the second step) to ensure the SQL files are opened from the intended
folders.

Comment on lines +72 to 81
7. **Set up Docker container**
```sh
cd backend
docker-compose up -d # Start weaviate, falkordb, rabbitmq
```

7. **Start Docker containers**
8. **Start Docker containers**
```sh
Go to docker dekstop and start the containers
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Typos + wording polish in Docker steps.
Line 80: “docker dekstop” → “Docker Desktop”. Also “Set up Docker container” vs “Start Docker containers” reads inconsistent—consider “Start Docker containers (docker-compose up)” and drop the manual Desktop step (or mark it optional).

🤖 Prompt for AI Agents
In docs/INSTALL_GUIDE.md around lines 72 to 81, fix typos and clarify Docker
steps: rename the section titles to be consistent (e.g., "Start Docker
containers (docker-compose up)"), change the text "docker dekstop" to "Docker
Desktop", and either remove the separate manual Desktop instruction or mark it
explicitly as optional (e.g., "Optional: start containers via Docker Desktop").
Ensure the commands remain unchanged and the wording is concise and consistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant