Repository navigation
docs: Simplify bbb-web dev instructions - #24956
Conversation
WalkthroughThe development guide for BigBlueButton-Web was simplified. The prior section contained extensive manual steps for building and deploying changes, including permission modifications, SBT configuration, WAR assembly, and manual file operations. This was replaced with straightforward instructions to use two scripts: Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
docs/docs/development/dev-guide.md (1)
342-351: Consider documenting the--buildoption for both scripts.Both scripts support
--buildto rebuild dependencies (bbb-common-web) before running/deploying. A brief note here would reduce confusion when local changes in shared libs don’t appear.Suggested doc update
To rebuild and deploy your changes, replacing the existing `bbb-web` in `/usr/share/bbb-web`: ```bash ./deploy_to_usr_share.sh +# or, if you changed shared dependencies: +./deploy_to_usr_share.sh --buildAlternatively, to run bbb-web in development mode on port 8090 without replacing the deployed files:
./run-dev.sh +# or, if you changed shared dependencies: +./run-dev.sh --build</details> <details> <summary>🤖 Prompt for AI Agents</summary>Verify each finding against the current code and only fix it if needed.
In
@docs/docs/development/dev-guide.mdaround lines 342 - 351, Update the
dev-guide entries for deploy_to_usr_share.sh and run-dev.sh to mention the
--build option: explain that both scripts accept --build to rebuild shared
dependencies (bbb-common-web) before deploying or running, and add a short
note/example after the existing invocation for ./deploy_to_usr_share.sh and
./run-dev.sh indicating to use ./deploy_to_usr_share.sh --build and ./run-dev.sh
--build when local changes to shared libs need to be rebuilt first; reference
the script names deploy_to_usr_share.sh and run-dev.sh in the note so readers
can find the relevant commands.</details> </blockquote></details> </blockquote></details> <details> <summary>🤖 Prompt for all review comments with AI agents</summary>Verify each finding against the current code and only fix it if needed.
Inline comments:
In@docs/docs/development/dev-guide.md:
- Around line 348-351: Add a short prerequisite note to the dev guide next to
the run-dev.sh invocation stating that ./run-dev.sh requires write access to
/var/bigbluebutton; include a suggested command to grant access (for example:
sudo chmod -R 777 /var/bigbluebutton/ or a safer chown alternative) and show the
updated usage snippet with the permission command immediately before
./run-dev.sh so readers know to set permissions before running run-dev.sh.
Nitpick comments:
In@docs/docs/development/dev-guide.md:
- Around line 342-351: Update the dev-guide entries for deploy_to_usr_share.sh
and run-dev.sh to mention the --build option: explain that both scripts accept
--build to rebuild shared dependencies (bbb-common-web) before deploying or
running, and add a short note/example after the existing invocation for
./deploy_to_usr_share.sh and ./run-dev.sh indicating to use
./deploy_to_usr_share.sh --build and ./run-dev.sh --build when local changes to
shared libs need to be rebuilt first; reference the script names
deploy_to_usr_share.sh and run-dev.sh in the note so readers can find the
relevant commands.</details> <details> <summary>🪄 Autofix (Beta)</summary> Fix all unresolved CodeRabbit comments on this PR: - [ ] <!-- {"checkboxId": "4b0d0e0a-96d7-4f10-b296-3a18ea78f0b9"} --> Push a commit to this branch (recommended) - [ ] <!-- {"checkboxId": "ff5b1114-7d8c-49e6-8ac1-43f82af23a33"} --> Create a new PR with the fixes </details> --- <details> <summary>ℹ️ Review info</summary> <details> <summary>⚙️ Run configuration</summary> **Configuration used**: Repository UI **Review profile**: CHILL **Plan**: Pro **Run ID**: `24ab6598-785b-4aa5-b1e6-c810600b3b3a` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between 5198ee9d595ee3edc7aa6d10ba5226068f0ec600 and b96deaaa0d2a504d61392965bbd4dbb58a371238. </details> <details> <summary>📒 Files selected for processing (1)</summary> * `docs/docs/development/dev-guide.md` </details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->



What does this PR do?
Simplifies
bbb-web's development instructions by recommending the fairly new./run-dev.shand./deploy_to_usr_share.shscripts instead.Closes Issue(s)
Closes # none
Related: #24842
Motivation
#24842