Skip to content

Docs: Improve backend local setup guide and add first-time contributor checklist#43

Open
adititiwari0810 wants to merge 1 commit intoPSMRI:mainfrom
adititiwari0810:docs/improve-local-setup-guide
Open

Docs: Improve backend local setup guide and add first-time contributor checklist#43
adititiwari0810 wants to merge 1 commit intoPSMRI:mainfrom
adititiwari0810:docs/improve-local-setup-guide

Conversation

@adititiwari0810
Copy link
Copy Markdown

@adititiwari0810 adititiwari0810 commented Mar 2, 2026

Improves clarity for first-time backend contributors setting up AMRIT locally (Windows + IntelliJ).

Adds:

  • Repository selection clarification
  • Java/IntelliJ configuration guidance
  • Maven build output interpretation
  • Flyway/database context explanation
  • Git workflow for contributors
  • Backend setup checklist

Based on real onboarding experience to reduce setup friction.

Related to #111

Summary by CodeRabbit

  • Documentation
    • Comprehensive first-time backend contributor onboarding guide now available with detailed Windows and IntelliJ setup instructions
    • New sections cover repository setup, Java configuration, Maven builds, database schemas, Git workflows, and recommended backend development best practices
    • Step-by-step guidance and setup checklist provided for new contributors

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 2, 2026

📝 Walkthrough

Walkthrough

The documentation file for development environment setup has been replaced with a comprehensive "First-Time Backend Contributor Guide" tailored for Windows and IntelliJ users. The update includes new sections on repository selection, Java version configuration, Maven build output, database schema, Git workflow, and a backend setup checklist.

Changes

Cohort / File(s) Summary
Backend Contributor Documentation
developer-guide/development-environment-setup.md
Replaced generic setup header with "First-Time Backend Contributor Guide (Windows + IntelliJ)"; added six new sections covering repository selection, Java/IntelliJ configuration, Maven output, database schema with Flyway context, Git workflow, and a recommended setup checklist with detailed steps and examples.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related issues

Poem

🐰 A guide springs forth for those new to the code,
Windows and IntelliJ light up the road,
With Java versions and Maven's sweet song,
Contributors now know exactly where to belong!
Flyway dances with databases bright, 🌱

🚥 Pre-merge checks | ✅ 3
✅ 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 directly and accurately summarizes the main changes: documentation improvements to the backend local setup guide and addition of a first-time contributor checklist.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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
Copy Markdown

@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 (2)
developer-guide/development-environment-setup.md (2)

19-20: Replace “Suggestion”/future-tense phrasing with direct guidance.

This guide is already presenting the recommended process, but Lines 19, 67, 114, and 135+ still read like proposal text (“Suggestion”, “These additions would…”). Converting those to direct, present-tense instructions will make the document feel final and authoritative.

Also applies to: 67-68, 114-115, 135-141

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@developer-guide/development-environment-setup.md` around lines 19 - 20,
Update the phrasing in developer-guide/development-environment-setup.md by
replacing tentative language such as the header "Suggestion" and phrases like
"These additions would…" with direct, present-tense/instructional wording;
specifically edit the occurrences around the sections referenced (lines ~19,
~67-68, ~114-115, and ~135-141) so they read as authoritative commands or
statements (e.g., change "Suggestion:" to "Guidance:" or remove the label and
reword sentences to imperative/present tense) and ensure consistency across the
document.

28-29: Use fenced code blocks for commands and terminal output.

These snippets are currently plain text, which hurts readability and copy/paste reliability. Wrap them in Markdown code fences (for example, bash for commands and text for output).

Suggested doc formatting pattern
- mvvn clean install
+```bash
+mvn clean install
+```

-BUILD SUCCESS
-Tests run: 1778, Failures: 43
+```text
+BUILD SUCCESS
+Tests run: 1778, Failures: 43
+```

Also applies to: 48-49, 54-56, 95-96, 106-107, 110-111

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@developer-guide/development-environment-setup.md` around lines 28 - 29,
Several command and terminal output snippets in the "Project JDK is not defined"
section are plain text; wrap each command in fenced code blocks using language
hints (e.g., use ```bash for commands like "mvn clean install") and wrap
corresponding output in ```text blocks (e.g., "BUILD SUCCESS\nTests run: 1778,
Failures: 43"). Locate the exact occurrences of the commands and outputs (such
as the "mvn clean install" command and the "BUILD SUCCESS" output) and replace
the inline/plain text with the fenced-code format; apply the same change to the
other instances called out (the snippets around the other listed ranges) to
ensure consistent formatting and copy/paste reliability.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@developer-guide/development-environment-setup.md`:
- Around line 54-66: The example showing "BUILD SUCCESS" alongside test failures
is misleading; update the documentation text near the Maven example that
includes the literal output "BUILD SUCCESS" and "Tests run:" to state that this
only occurs when tests are skipped or test failures are ignored, and explicitly
show or mention the Maven flags that cause this behavior (e.g., -DskipTests,
-DskipITs, or -Dmaven.test.failure.ignore=true) and that by default Maven will
report BUILD FAILURE on test failures unless those settings are used; adjust the
wording to instruct readers to verify whether those flags are present before
assuming a successful build.

---

Nitpick comments:
In `@developer-guide/development-environment-setup.md`:
- Around line 19-20: Update the phrasing in
developer-guide/development-environment-setup.md by replacing tentative language
such as the header "Suggestion" and phrases like "These additions would…" with
direct, present-tense/instructional wording; specifically edit the occurrences
around the sections referenced (lines ~19, ~67-68, ~114-115, and ~135-141) so
they read as authoritative commands or statements (e.g., change "Suggestion:" to
"Guidance:" or remove the label and reword sentences to imperative/present
tense) and ensure consistency across the document.
- Around line 28-29: Several command and terminal output snippets in the
"Project JDK is not defined" section are plain text; wrap each command in fenced
code blocks using language hints (e.g., use ```bash for commands like "mvn clean
install") and wrap corresponding output in ```text blocks (e.g., "BUILD
SUCCESS\nTests run: 1778, Failures: 43"). Locate the exact occurrences of the
commands and outputs (such as the "mvn clean install" command and the "BUILD
SUCCESS" output) and replace the inline/plain text with the fenced-code format;
apply the same change to the other instances called out (the snippets around the
other listed ranges) to ensure consistent formatting and copy/paste reliability.

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a71af10 and 28ebb63.

⛔ Files ignored due to path filters (5)
  • .gitbook/assets/VL1DJy904BtlhvXm1I_64ua6a21Dm12iDnCpxOvqmtQtxcxvYE6_EuijiPZOIsSdx-FD6_c0BjIb5XN_LQugD05witcoXl4gwG5wY0yXCM26dc1fpSR6zNJIvSoJ5RoGswcS8gsTkw3nPBg49moqnoCyejOPvji8lpo4E9lVFB01324ndbm0GtjOABDTqsTDFhoPBt0_Oo87W5c1ptMPaHi07nHgVn_ibao39eRaZf27SO2JQAtOf4t9Jcl.png is excluded by !**/*.png
  • .gitbook/assets/VLB1RXCn4BtxAvvw0jf2AswLKhMaAOdKqcgJgfTSfhl3refZB_OiRLHLoeaFG1pXoeVbIx2Nx4P1WAMrrZFlZTyypqaGybBFZQ9SdCVD21ImS-wT5RO5NWnl-p7uSaTL4QTpNP6Lc1-ECfnUZtOIEXrKGK9t51YNpfOkXS_UAHNBxH-ZGH_X-ceymPkIBNiIlj1sDd4pjbEx-l8LdZ_L76HKg8IEhCYFd94Dx0LFNNeFGKZgq9F4pNw7EOO.png is excluded by !**/*.png
  • .gitbook/assets/VLFFJXjF3BxlKrWSVlfL3GhboA42aW9HKuX8K2zSd5sJZkATsSvuKbOL5QS-GDLBfVRbU99wPqF-H2eZ8NRip_u-VvuS1q4liUGCSt4URW9vm01xVPVkJzz_m0Z5a1Mu6UnbbQ9DRYhK-zx5nruJLBp-sqwTNGokuMGqW27Mv1Ea2UtK3qOm9hymEIN4ydiRT7BQ_m3dAFG5wuHg0bcMXEw_LM8uWbPizrceU3ERaG-tzkdnzz3OEUJeQJz.png is excluded by !**/*.png
  • .gitbook/assets/XT8nJ_im40NmtP_Ynlz_GEmPK1D2QOGgLIbbhKxE0uA2RUmBADyU4pb5faACFl_ytWrU1M4lu-kWM8lrj6FfOIITRbdmmPDoqVIwTso4octRt1ytpI6RRfhTiJoRL4gTE5rSBNa5NLiJ456Bjn51LBg8PjcWeD8vRzznsU85MbIQPp69X9INvPoAlzjABtXaBVbIy-e5hI7wcMeMfd_BWwR-Vswht-qSzQFyncW_EK57rMYw0JEg_a9Pwm.png is excluded by !**/*.png
  • .gitbook/assets/ZLPDZzis4BthLyofiD4MHTkRW6tZjREnq3hh-YEd008Zpbh4ogGw7DbLVdr9MemjEt9oMAoeUVCnxys8VcDP43VxAX456uAbO8MQkzFaSRR8tmd6esX1MEWUazhvg4BLGZDC5gjiuutX8L-tbd7VGyopfRUxVr-tRa_MRRHAmUAJi0XBOtb7QCzl5aRlJ5AOgiA2bT4MLYYLxRtv89gAa-JX0HQgGij68poxlz7Yrt7gMffFO4eeF1X-WB.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • developer-guide/development-environment-setup.md

Comment on lines +54 to +66
BUILD SUCCESS
Tests run: 1778, Failures: 43


This can be confusing.

Clarification:

- `BUILD SUCCESS` means the project compiled successfully.
- Test failures may still be present.
- For documentation-only or small changes, failing legacy tests may not always block progress.
- Always verify whether test failures are related to your changes before proceeding.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Correct the Maven example: BUILD SUCCESS with test failures is conditional.

On Line 54–56, the example implies failed tests can coexist with a normal successful build by default. In standard Maven flow, test failures usually produce BUILD FAILURE unless failure-ignore/skipping is configured. Please clarify that this outcome only occurs with specific settings (e.g., tests skipped or failures ignored).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@developer-guide/development-environment-setup.md` around lines 54 - 66, The
example showing "BUILD SUCCESS" alongside test failures is misleading; update
the documentation text near the Maven example that includes the literal output
"BUILD SUCCESS" and "Tests run:" to state that this only occurs when tests are
skipped or test failures are ignored, and explicitly show or mention the Maven
flags that cause this behavior (e.g., -DskipTests, -DskipITs, or
-Dmaven.test.failure.ignore=true) and that by default Maven will report BUILD
FAILURE on test failures unless those settings are used; adjust the wording to
instruct readers to verify whether those flags are present before assuming a
successful build.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this is a parent page in gitbook that shows other children pages.
https://piramal-swasthya.gitbook.io/amrit/developer-guide/development-environment-setup

we already other pages under this parent with similar documentation.
Do you mind tweaking them instead?

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