看帮助文档支持mongdb,如何配置?

by hello Support 1432889675194


看帮助文档支持mongdb,如何配置?





4 COMMENTS
  • #0 little_hill (Guest) 1434430415279

    aadffa


  • #1 withered_dawn (Guest) 1434501767922

    eeee

  • #2 snowy_thunder (Guest) 1435675447686
    dsf




    #1 @withered_dawn (Guest)

  • #3 newghost 1435846127339

    找到配置文件,如 config.newspaper.js 或 config.newspaper.js

    将   CONNECTIONSTR  的值设置成你的mongodb连接字符串即可

    /*

    * Meta(Template/Url)

    */

    var GENERAL_CONFIG = {

        ......

      , CONNECTIONSTR   : 'mongodb://ussername:password@mongodbhost.com/instance'

        ......

    }