 
 module.exports = (app)->
   console.log "Staring..."
-  ensureDirectory()
   initRealtime app
   initStaticRouters app
   initBijou app

      #扫描schema，并初始化数据库
      schema = _path.join __dirname, './schema'
      _bijou.scanSchema schema, done
  )

  #如果没有用户，则创建一个root用户
  queue.push(
    (done)-> initRootMember done
  )

  #加载缓存

initStaticRouters = (app)->
  _staticRouter.forEach (router)-> initStaticRouter app, router

#初始化bijou
initBijou = (app)->
  #console.log _moment
