diff --git a/index.js b/index.js index 3a1928c..7ddc5ca 100644 --- a/index.js +++ b/index.js @@ -2,11 +2,14 @@ var kraken = require('kraken-js'), + db = require('./lib/database'), app = {}; app.configure = function configure(nconf, next) { // Fired when an app configures itself + //Configure the database + db.config(nconf.get('databaseConfig')); next(null); };