improve README instructions so they are step-by-step and accurate
This commit is contained in:
parent
ead7352bf2
commit
3e72e0cc6d
1 changed files with 18 additions and 6 deletions
24
README.md
24
README.md
|
|
@ -5,20 +5,32 @@ Copay
|
||||||
|
|
||||||
Installation:
|
Installation:
|
||||||
|
|
||||||
Copy config.template.js to config.js
|
```
|
||||||
|
git clone https://github.com/bitpay/copay.git
|
||||||
|
cd copay
|
||||||
|
```
|
||||||
|
|
||||||
and edit to suit your needs. (Defaults to public PeerJS and Insight servers)
|
Install bower and grunt if you haven't already:
|
||||||
|
```
|
||||||
|
npm install -g bower
|
||||||
|
npm install -g grunt-cli
|
||||||
|
```
|
||||||
|
|
||||||
Copy bitcore/browser/bundle.js to copay/lib/bitcore.js
|
Build Copay:
|
||||||
|
|
||||||
Then execute these commands:
|
|
||||||
```
|
```
|
||||||
npm install
|
npm install
|
||||||
bower install
|
bower install
|
||||||
grunt --target=dev shell
|
grunt shell --target=dev
|
||||||
|
cp config.template.js config.js
|
||||||
|
```
|
||||||
|
|
||||||
|
Open Copay:
|
||||||
|
```
|
||||||
node app.js
|
node app.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then visit localhost:3000 in your browser.
|
||||||
|
|
||||||
To run on a different port:
|
To run on a different port:
|
||||||
```
|
```
|
||||||
PORT=3001 node app.js
|
PORT=3001 node app.js
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue