From cf38dbcfd494eec9bc479845d918f1354197321f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 21 Jul 2014 21:18:28 -0700 Subject: Upgrade express and other dependencies to the latest and greatest --- install.js | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'install.js') diff --git a/install.js b/install.js index 0e6256df..088d593e 100644 --- a/install.js +++ b/install.js @@ -13,28 +13,11 @@ username: 'admin', password: hash }, function() { - return console.log("Created admin user with password 'admin'"); + console.log("Created admin user with password 'admin'"); + return process.exit(); }); }); } }); - db.sismember("mts", "mt:rest", function(err, res) { - if (!res) { - db.hmset("mt:rest", { - code: "rest", - label: "Restaurant/Bar" - }, function() { - return db.sadd("mts", "mt:rest"); - }); - db.hmset("mt:coff", { - code: "rest", - label: "Coffee Shop" - }, function() { - return db.sadd("mts", "mt:coff"); - }); - return console.log("Added merchant types"); - } - }); - }).call(this); -- cgit v1.2.3