Open main menu

CDOT Wiki β

Changes

Big Blue Button Polling Install

1,684 bytes removed, 11:29, 23 May 2012
Installing to a Fresh Dev Environment
=Installing to a Fresh 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 for compiling bigbluebutton-client and bigbluebutton-apps.
Follow the steps [http://code.google.com/p/bigbluebutton/wiki/08SettingDevEnvironment here], but when you get to the section about checking out the source code go [https://github.com/jtrobinson/bigbluebutton here] and grab the source code that includes the polling module, (i.e. if you have access, clone the repo, or download a zip) and place it in ~/dev/ and continue with the rest of the setup steps from the first link.
= Installing to an Existing Dev Environment =
== Before you Start ==
In this installation manual we assume Before you can add Polling Module to your Big Blue Button you need to make sure that your bigbluebutton folder Big Blue Button development environment is located in the : properly installed, and you don'''/home/firstuser/dev/source/t have any compilation errors when compiling bigbluebutton-client and bigbluebutton'''-apps.
If your path to bigbluebutton is not: '''/home/firstuser/dev/source/bigbluebutton'''
Please go to bbb-poll-install (in the same folder as In this file) and change the BBB variable path to the path of installation manual we assume that your 'bigbluebutton' folder, otherwise it won't work.Also please do is located in the same procedure but with : '''scripts/bbb-poll.compile.shhome/firstuser/dev/bigbluebutton''' 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.''' Go [https://github.com/myprogrammingblog/polling-module 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
'''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{ZIP_PATH}/config.xmlscripts'''
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/pollinginstall-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