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

16 lines
433 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()
2014-07-26 00:36:31 +08:00
# create create a PubSub connection, start listening
Meteor.redisPubSub = new Meteor.RedisPubSub(->
Meteor.log.info "created pubsub")