aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-12-08 18:03:29 -0800
committerAdam Soltys <[email protected]>2014-12-08 18:03:29 -0800
commit0575689747b2868205ceb48ead622032ebe173fe (patch)
tree4664f89280b8c8b46fabe3709840c5208633cfc1
parente37c28ac8d6868843eeaac242b04c7d6ef43cd7b (diff)
downloadcoinos-server-0575689747b2868205ceb48ead622032ebe173fe.tar.gz
coinos-server-0575689747b2868205ceb48ead622032ebe173fe.zip
Update install instructions
-rw-r--r--README.md10
-rw-r--r--package.json3
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",