bigbluebutton-Github/bigbluebutton-html5/app/server/server.coffee

17 lines
458 B
CoffeeScript
Raw Normal View History

Meteor.startup ->
Meteor.log.info "server start"
#remove all data
Meteor.WhiteboardCleanStatus.remove({})
2014-12-23 03:53:07 +08:00
clearUsersCollection()
clearChatCollection()
clearMeetingsCollection()
clearShapesCollection()
clearSlidesCollection()
clearPresentationsCollection()
clearPollCollection()
2015-08-17 06:19:43 +08:00
# create create a PubSub connection, start listening
Meteor.redisPubSub = new Meteor.RedisPubSub(->
Meteor.log.info "created pubsub")