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 installation guide with renumbered startup steps and an optional Docker Desktop startup flow
    • Clarified cross-platform backend and frontend startup commands (now noting npm run dev)
    • Added a Supabase table creation section with SQL paste steps and a warning about potential "Table Not Found" errors
    • Introduced FalkorDB CodeGraph and Supabase descriptions, reordered database context, and applied minor environment/setup wording refinements

✏️ 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

Walkthrough

Added 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 npm run dev; added FalkorDB CodeGraph and Supabase database descriptions; reordered database notes and minor wording tweaks in docs/INSTALL_GUIDE.md. (49 words)

Changes

Cohort / File(s) Summary
Installation guide
docs/INSTALL_GUIDE.md
Inserted "Create the required Supabase Tables" with SQL paste steps and a table-not-found warning; renumbered startup steps and added an optional "Start Docker containers via Desktop" step; updated backend graphDB startup path and explicit flask run invocation (cross-platform/Windows-style examples); changed frontend to npm install + npm run dev; added FalkorDB CodeGraph and Supabase database description sections; repositioned Weaviate notes and made minor wording/order adjustments.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 I hopped through the guide with a twitch and a hop,
Planted SQL seeds and gave steps a new top.
FalkorDB burrowed in, Supabase warmed its mat,
Commands shuffled neatly — devs tip their hat.
Nibble, patch, commit — then off for a nap.

Pre-merge checks

✅ 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 describes the main change: adding missing installation steps to INSTALL_GUIDE.md, which aligns with the comprehensive updates to setup instructions, database configuration, and startup procedures.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 659645c and 510c4a2.

📒 Files selected for processing (1)
  • docs/INSTALL_GUIDE.md
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: smokeyScraper
Repo: AOSSIE-Org/Devr.AI PR: 87
File: tests/test_supabase.py:1-3
Timestamp: 2025-06-28T23:15:13.374Z
Learning: In the Devr.AI project, smokeyScraper prefers to defer test updates and fixes (like missing imports after module reorganization) to separate PRs rather than expanding the scope of module update/chore PRs to include comprehensive test refactoring.

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)

@smokeyScraper
Copy link
Contributor

Could you please review the coderabbit-suggested changes once @Ishtiyaque-Alam ?
Thanks!

…-Install.md-and-Readme.md-with-missing-steps
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

♻️ Duplicate comments (3)
docs/INSTALL_GUIDE.md (3)

62-69: Directory navigation issue persists—needs explicit paths from repo root.

The cd commands still resolve relative to the previous directory. After cd backend/database, the next cd backend/app/database/supabase/scripts attempts to change relative to backend/database and will fail. Make all paths explicit from repo root or add cd back 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
    1. 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
    1. 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.
@Ishtiyaque-Alam
Copy link
Author

@smokeyScraper I have made the suggested changes , please review it .

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

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b5b35c8 and 659645c.

📒 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.

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.

2 participants