Merge pull request #98 from martindale/easy-install

Move external dependencies into package.json.
This commit is contained in:
Matias Alejo Garcia 2014-01-20 19:08:57 -08:00
commit 0b696e430f
2 changed files with 3 additions and 32 deletions

View File

@ -57,36 +57,6 @@ $ npm install -g bower
If you get an error, please check the next section "Post-install" If you get an error, please check the next section "Post-install"
### Post-install (post-dependecies)
Get bufferput package from Github repository:
$ git clone git@github.com:gasteve/node-bufferput.git
Create symbolic link of node-bufferput in your insight folder:
$ cd <your_path_to>/insight/node_modules
$ ln -s <path_to>/node-bufferput bufferput
Get bitcore from github repository:
Get bitcore from github repository:
$ git clone https://github.com/bitpay/bitcore.git
$ cd bitcore
$ npm install
Then create a symbolic link from this to your insight repository. We need to
use bitcore from github, not with npm for now:
$ cd insight/node_modules
$ rm -R bitcore
$ ln -s <path-to-your-clone-repositoy>/bitcore
## Syncing old blockchain data ## Syncing old blockchain data
Run sync from insight repository (to save old blocks and transactions in MongoDB): Run sync from insight repository (to save old blocks and transactions in MongoDB):

View File

@ -60,7 +60,6 @@
"mongoose": "~3.8.3", "mongoose": "~3.8.3",
"lodash": "~2.4.1", "lodash": "~2.4.1",
"bower": "~1.2.8", "bower": "~1.2.8",
"bitcore": "*",
"buffertools": "*", "buffertools": "*",
"grunt": "~0.4.2", "grunt": "~0.4.2",
"grunt-cli": "~0.1.11", "grunt-cli": "~0.1.11",
@ -75,7 +74,9 @@
"socket.io": "~0.9.16", "socket.io": "~0.9.16",
"moment": "~2.5.0", "moment": "~2.5.0",
"sinon": "~1.7.3", "sinon": "~1.7.3",
"chai": "~1.8.1" "chai": "~1.8.1",
"bitcore": "git://github.com/bitpay/bitcore.git",
"bufferput": "git://github.com/bitpay/node-bufferput.git"
}, },
"devDependencies": { "devDependencies": {
"grunt-contrib-watch": "latest", "grunt-contrib-watch": "latest",