diff options
| author | Adam Soltys <[email protected]> | 2014-07-21 21:18:28 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2014-07-21 21:18:28 -0700 |
| commit | cf38dbcfd494eec9bc479845d918f1354197321f (patch) | |
| tree | ceef8e31903b35b610ada16ec367fe53e2a1ecb7 /install.js | |
| parent | ab1432886eb9e46c8a19acd67bb8c8e6fe4754c1 (diff) | |
| download | coinos-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.js | 21 |
1 files changed, 2 insertions, 19 deletions
@@ -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); |
