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.coffee | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'install.coffee') diff --git a/install.coffee b/install.coffee index fa95f6f8..38e32b6f 100644 --- a/install.coffee +++ b/install.coffee @@ -10,18 +10,7 @@ db.get("user:admin", (err, res) -> password: hash, , -> console.log("Created admin user with password 'admin'") + process.exit() ) ) ) - -db.sismember("mts","mt:rest", (err,res) -> - if !res - db.hmset("mt:rest",{code: "rest", label: "Restaurant/Bar"}, -> - db.sadd("mts","mt:rest") - ) - db.hmset("mt:coff",{code: "rest", label: "Coffee Shop"}, -> - db.sadd("mts","mt:coff") - ) - console.log("Added merchant types") -) - -- cgit v1.2.3