c0a8fb7b57
Versions: - Bootstrap v3.0.1 - Font Awesome 4.0.1 Haven't added bootstrap-theme, can be add in the future if needed. |
||
---|---|---|
.. | ||
assets/css | ||
images | ||
lib | ||
public | ||
routes | ||
test | ||
views | ||
.gitignore | ||
app.coffee | ||
app.js | ||
Cakefile | ||
config.coffee | ||
package.json | ||
README.md |
BBB-HTML5-Client
Development
Setting up the environment
1. Install Node.js
Here's a quick how-to for installing it from source code (replace X.X.X
by the required node version that you can
find on package.json
):
wget http://nodejs.org/dist/vX.X.X/node-vX.X.X.tar.gz
tar -xvf node-vX.X.X.tar.gz
cd node-vX.X.X/
./configure
make
sudo make install
2. Install node dependencies
cd bbb-html5-client
npm install
3. Clean Redis database
redis-cli flushdb
4. Do a clean restart of BigBlueButton
bbb-conf --clean
5. Run the BBB server
cd bbb-html5-client
node app.js
Generating the documentation
This application uses codo to generate HTML pages with the documentation for the HTML5 client and server. This documentation is targeted for developers.
To generate the documentation pages, use:
cake docs
The files will be output to the folder docs/
.
Testing
Run:
cake test
To run tests for a single file:
cake -f test/lib/modules-test.coffee test
To stop immediately in case a test fails:
cake -b test