Skip to content

how to fill in config.js with mongodb details? #7

@luckypoem

Description

@luckypoem

hi.
i have mongod running,but how to fill in config.js with mongodb details?
as3:/nodejs-mvc-cms# ls
app config.js node_modules package.json README
as3:
/nodejs-mvc-cms# cat config.js
exports.config = {

staticContentPath: __dirname + '/app',
appPath: __dirname + '/app',

dbConnection: '',
dbName: '',
dbUserName: '',
dbPassword: '',

portNumber: 8080
};as3:~/nodejs-mvc-cms#

as3:/nodejs-mvc-cms# ps aux|grep mongod
root 16496 0.0 0.0 3872 788 pts/5 S+ 05:18 0:00 grep mongod
root 20321 0.3 0.7 475548 8096 ? Sl Apr01 67:22 /root/mongodb-linux-i686-2.4.9/bin/mongod --dbpath /data/db/
as3:
/nodejs-mvc-cms#
tks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions