diff options
| author | Adam Soltys <[email protected]> | 2014-12-08 18:03:29 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2014-12-08 18:03:29 -0800 |
| commit | 0575689747b2868205ceb48ead622032ebe173fe (patch) | |
| tree | 4664f89280b8c8b46fabe3709840c5208633cfc1 | |
| parent | e37c28ac8d6868843eeaac242b04c7d6ef43cd7b (diff) | |
| download | coinos-server-0575689747b2868205ceb48ead622032ebe173fe.tar.gz coinos-server-0575689747b2868205ceb48ead622032ebe173fe.zip | |
Update install instructions
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | package.json | 3 |
2 files changed, 9 insertions, 4 deletions
@@ -20,13 +20,17 @@ We use the websocket payment notification API from http://blockchain.info/api/ap # Installation -Install nodeJS (http://nodejs.org/) and redis (http://redis.io/) then: +Install nodeJS (http://nodejs.org/) and redis (http://redis.io/). On Ubuntu, this would be: + + sudo apt-get install nodejs redis-server + sudo ln -sf /usr/bin/nodejs /usr/bin/node + +Download and configure CoinOS: git clone https://github.com/thebitcoincoop/coinos cd coinos npm install - ./fetch_rates.sh - coffee app + node app.js Now the app should be runnning at http://localhost:3000/ diff --git a/package.json b/package.json index 343b76eb..e5505174 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "version": "0.0.1", "private": true, "scripts": { - "start": "node app.js" + "start": "node app.js", + "postinstall": "cp config.js.sample config.js" }, "dependencies": { "async": "0.9.0", |
