Skip to content

docs: Simplify bbb-web dev instructions - #24956

Merged
antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
antobinary:dev-docs
Apr 22, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v3.0.x-developfrom
antobinary:dev-docs

Conversation

@antobinary

Copy link
Copy Markdown
Member

What does this PR do?

Simplifies bbb-web's development instructions by recommending the fairly new ./run-dev.sh and ./deploy_to_usr_share.sh scripts instead.

Closes Issue(s)

Closes # none
Related: #24842

Motivation

#24842

@coderabbitai

coderabbitai Bot commented Apr 22, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

The 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: ./deploy_to_usr_share.sh to rebuild and deploy to /usr/share/bbb-web, and ./run-dev.sh to run the application in development mode on port 8090.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and accurately summarizes the main change: simplifying bbb-web development instructions by replacing manual steps with script-based workflows.
Description check ✅ Passed The description is directly related to the changeset, explaining that the PR simplifies bbb-web dev instructions by recommending ./run-dev.sh and ./deploy_to_usr_share.sh scripts.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

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 (1)
docs/docs/development/dev-guide.md (1)

342-351: Consider documenting the --build option for both scripts.

Both scripts support --build to 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 --build

Alternatively, 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.md around 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 -->

Comment thread docs/docs/development/dev-guide.md Resolved
@antobinary
antobinary merged commit 49d3d56 into bigbluebutton:v3.0.x-develop Apr 22, 2026
7 checks passed
@antobinary
antobinary deleted the dev-docs branch April 22, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant