Difference between revisions of "Big Blue Button Polling Install"

From CDOT Wiki
Jump to: navigation, search
(Installation Steps)
Line 1: Line 1:
== Before you Start ==
+
= Installing to a Fresh Dev Environment =
  
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.
+
'''1.''' Follow the steps [http://code.google.com/p/bigbluebutton/wiki/08SettingDevEnvironment here].
  
 +
'''2.''' When you get to the section about checking out the source code go [https://github.com/jtrobinson/bigbluebutton here] and grab the source code.
  
In this installation manual we assume that your bigbluebutton folder is located in the :  '''/home/firstuser/dev/source/bigbluebutton'''
+
'''3.''' Either clone the repo from step 2 if you have access or download a zip and place it in ~/dev/
  
If your path to bigbluebutton is not: '''/home/firstuser/dev/source/bigbluebutton'''
+
'''4.''' Continue with the rest of the set up steps from the first link
  
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.
+
= Installing to an Existing Dev Environment =
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 ==
+
== 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 when compiling bigbluebutton-client and bigbluebutton-apps.
  
  
+
In this installation manual we assume that your bigbluebutton folder is located in the :  '''/home/firstuser/dev/bigbluebutton'''
'''1.''' Open Terminal, go to polling-module folder and run installation script:
 
   
 
'''cd ~/Desktop/polling-module'''
 
  
'''sudo ./bbb-poll-install'''
+
== Installation Steps ==
 
 
This step will copy all the necessary files and folders into your bigbluebutton environment.
 
  
 +
'''1.''' Go [https://github.com/myprogrammingblog/polling-module here] and download the files as a zip
  
'''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) :
+
'''2.''' Open a terminal go to where you downloaded the zip and go to the scripts directory. Run the install-polling-module-dev.sh script
  
'''vi  /home/firstuser/dev/source/bigbluebutton/bigbluebutton-client/src/conf/config.xml'''
+
'''cd {ZIP_PATH}/scripts'''
 
      
 
      
Put (changing YOURHOST to your Ip address):
+
'''./install-polling-module-dev.sh'''
 
 
 
 
 
 
<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.
+
'''3.''' Follow the steps in the scripts

Revision as of 12:42, 8 May 2012

Installing to a Fresh Dev Environment

1. Follow the steps here.

2. When you get to the section about checking out the source code go here and grab the source code.

3. Either clone the repo from step 2 if you have access or download a zip and place it in ~/dev/

4. Continue with the rest of the set up steps from the first link

Installing to an Existing Dev Environment

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 when compiling bigbluebutton-client and bigbluebutton-apps.


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

Installation Steps

1. Go here and download the files as a zip

2. Open a terminal go to where you downloaded the zip and go to the scripts directory. Run the install-polling-module-dev.sh script

cd {ZIP_PATH}/scripts

./install-polling-module-dev.sh


3. Follow the steps in the scripts