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.coffee | |
| 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.coffee')
| -rw-r--r-- | install.coffee | 13 |
1 files changed, 1 insertions, 12 deletions
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") -) - |
