bigbluebutton-Github/bigbluebutton-html5/app/server/server.coffee
2015-08-16 15:19:43 -07:00

17 lines
458 B
CoffeeScript
Executable File

Meteor.startup ->
Meteor.log.info "server start"
#remove all data
Meteor.WhiteboardCleanStatus.remove({})
clearUsersCollection()
clearChatCollection()
clearMeetingsCollection()
clearShapesCollection()
clearSlidesCollection()
clearPresentationsCollection()
clearPollCollection()
# create create a PubSub connection, start listening
Meteor.redisPubSub = new Meteor.RedisPubSub(->
Meteor.log.info "created pubsub")