aboutsummaryrefslogtreecommitdiffstats
path: root/install.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-07-21 21:18:28 -0700
committerAdam Soltys <[email protected]>2014-07-21 21:18:28 -0700
commitcf38dbcfd494eec9bc479845d918f1354197321f (patch)
treeceef8e31903b35b610ada16ec367fe53e2a1ecb7 /install.js
parentab1432886eb9e46c8a19acd67bb8c8e6fe4754c1 (diff)
downloadcoinos-server-cf38dbcfd494eec9bc479845d918f1354197321f.tar.gz
coinos-server-cf38dbcfd494eec9bc479845d918f1354197321f.zip
Upgrade express and other dependencies to the latest and greatest
Diffstat (limited to 'install.js')
-rw-r--r--install.js21
1 files changed, 2 insertions, 19 deletions
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);