Difference between revisions of "Big Blue Button Polling Install"

From CDOT Wiki
Jump to: navigation, search
(Installation Steps)
(Installation Steps)
Line 48: Line 48:
  
 
          
 
          
'''5.'''  If locales are build successful - run script in the scripts/polling-module folder that you have downloaded
+
'''4.'''  If locales are build successful - run script in the scripts/polling-module folder that you have downloaded
  
 
'''cd ~/Desktop/polling-module/scripts'''   
 
'''cd ~/Desktop/polling-module/scripts'''   
Line 57: Line 57:
  
  
'''6.''' Stop red5 server to compile bigbluebutton-aps
+
'''5.''' Stop red5 server to compile bigbluebutton-aps
  
 
'''sudo /etc/init.d/red5 stop'''
 
'''sudo /etc/init.d/red5 stop'''
Line 63: Line 63:
  
  
'''7.''' Recompile bigbluebutton-apps by going to the bigbluebutton-aps folder and using:
+
'''6.''' Recompile bigbluebutton-apps by going to the bigbluebutton-aps folder and using:
  
 
'''cd /home/firstuser/dev/source/bigbluebutton/bigbluebutton-apps'''
 
'''cd /home/firstuser/dev/source/bigbluebutton/bigbluebutton-apps'''
Line 71: Line 71:
  
  
'''8.''' Start red5 server
+
'''7.''' Start red5 server
  
 
'''cd /usr/share/red5/ ;sudo -u red5 ./red5.sh'''
 
'''cd /usr/share/red5/ ;sudo -u red5 ./red5.sh'''
Line 77: Line 77:
  
  
'''9.''' go to  http://yourBBBserverURL/demo/demo3.jsp login as Moderator (with prof123 in default version) and you should be able to see polling toolbar button in the toolbar.
+
'''8.''' go to  http://yourBBBserverURL/demo/demo3.jsp login as Moderator (with prof123 in default version) and you should be able to see polling toolbar button in the toolbar.
  
 
Note: Actual polling won't work in demo's where, there is no division to moderators and viewers.
 
Note: Actual polling won't work in demo's where, there is no division to moderators and viewers.

Revision as of 10:31, 15 February 2012

Before you Start

Before you can add Polling Module to your Big Blue Button you need to make sure that your Big Blue Button development environment is properly installed, and you don't have any compilation errors for compiling bigbluebutton-client and bigbluebutton-apps.



In this installation manual we assume that your bigbluebutton folder is located in the : /home/firstuser/dev/source/bigbluebutton

If your path to bigbluebutton is not: /home/firstuser/dev/source/bigbluebutton

Please go to bbb-poll-install (in the same folder as this file) and change the BBB variable path to the path of your 'bigbluebutton' folder, otherwise it won't work. Also please do the same procedure but with scripts/bbb-poll.compile.sh and change the path as well

We also assume that you have downloaded "polling-module" folder (where this manual is located to the ~/Desktop/)


Installation Steps

1. Open Terminal, go to polling-module folder and run installation script:

cd ~/Desktop/polling-module

sudo ./bbb-poll-install

This step will copy all the necessary files and folders into your bigbluebutton environment.


2. Go to your bigbluebutton folder and change config.xml (instead of 'vi' you can use whatever text editor you prefer e.g. gedit, nled) :

vi /home/firstuser/dev/source/bigbluebutton/bigbluebutton-client/src/conf/config.xml

Put (changing YOURHOST to your Ip address):

<module name="PollingModule" url="PollingModule.swf?v=3809" uri="rtmp://YOURHOST/bigbluebutton" host="http://YOUHOST" dependsOn="ViewersModule"/>

before </modules> line.


3. Recompile your client and locales by going to the bigbluebutton-client folder and using:

cd /home/firstuser/dev/source/bigbluebutton/bigbluebutton-client ant

Wait for it finished (takes approximetly 2 minutes). If BUILD SUCCESFULL run :

ant locales


4. If locales are build successful - run script in the scripts/polling-module folder that you have downloaded

cd ~/Desktop/polling-module/scripts sudo ./bbb-poll-compile.sh

It should say that PollingModule.swf compiled and moved.


5. Stop red5 server to compile bigbluebutton-aps

sudo /etc/init.d/red5 stop


6. Recompile bigbluebutton-apps by going to the bigbluebutton-aps folder and using:

cd /home/firstuser/dev/source/bigbluebutton/bigbluebutton-apps

gradle war deploy


7. Start red5 server

cd /usr/share/red5/ ;sudo -u red5 ./red5.sh


8. go to http://yourBBBserverURL/demo/demo3.jsp login as Moderator (with prof123 in default version) and you should be able to see polling toolbar button in the toolbar.

Note: Actual polling won't work in demo's where, there is no division to moderators and viewers.


Enjoy our Polling Module!


CDOT team.


Manual created by Anatoly Spektor if you have any questions about it, please post it on bigbluebutton-dev google group.