Files
bbb-plugin-test/README.md
Guilherme Pereira Leme 3eba8525da ref: Update template to use the new plugin manifest structure (#10)
* [manifest-structure] - added manifest structure to template

* Update README.md

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-10-29 16:12:23 -04:00

33 lines
1.1 KiB
Markdown

# Repository of a plugin for BigBlueButton
## Description
A brief description of the plugin including a screenshot and/or a short video.
## Building the Plugin
To build the plugin for production use, follow these steps:
```bash
cd $HOME/src/plugin-template
npm ci
npm run build-bundle
```
The above command will generate the `dist` folder, containing the bundled JavaScript file named `<plugin-name>.js`. This file can be hosted on any HTTPS server along with its `manifest.json`.
If you install the Plugin separated to the manifest, remember to change the `javascriptEntrypointUrl` in the `manifest.json` to the correct endpoint.
To use the plugin in BigBlueButton, send this parameter along in create call:
```
pluginManifests=[{"url":"<your-domain>/path/to/manifest.json"}]
```
Or additionally, you can add this same configuration in the `.properties` file from `bbb-web` in `/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties`
## Development mode
As for development mode (running this plugin from source), please, refer back to https://github.com/bigbluebutton/bigbluebutton-html-plugin-sdk section `Running the Plugin from Source`