From 0575689747b2868205ceb48ead622032ebe173fe Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 8 Dec 2014 18:03:29 -0800 Subject: Update install instructions --- README.md | 10 +++++++--- package.json | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a43d6d53..e92b2228 100644 --- a/README.md +++ b/README.md @@ -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", -- cgit v1.2.3