From 32c9f1e0d39355e75c45a6aa27bc41cf8fbf1fb5 Mon Sep 17 00:00:00 2001 From: Richard Ive Date: Sun, 25 Mar 2012 00:27:09 +0000 Subject: [PATCH] commenting on config --- .gitignore | 1 + conf/config.example.js | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index f719162..5580982 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store test.js + conf/config.js diff --git a/conf/config.example.js b/conf/config.example.js index 310f1e8..3f55c11 100644 --- a/conf/config.example.js +++ b/conf/config.example.js @@ -1,18 +1,25 @@ var config = {}; +//Database config config.db = { - host :'localhost', + host :'', port :24891, - dbname :'', - collection:'', + dbname :'geodb', + collection:'postcode', auth: { username: '', - password: '' + password: '!' } }; +//Http config +config.http = { + port:16156 +} + +//Importer config config.importer = { - path: '/tmp/postcodes/' + path: '/tmp/postcodes/Data/' } module.exports = config; \ No newline at end of file