updated Readme.md update
This commit is contained in:
parent
b28248a7ff
commit
299629d969
16
README.md
16
README.md
@ -28,8 +28,8 @@ Configure the app modifying [processes.json](/eth-net-intelligence-api/blob/mast
|
|||||||
"NODE_ENV" : "production", // tell the client we're in production environment
|
"NODE_ENV" : "production", // tell the client we're in production environment
|
||||||
"RPC_HOST" : "localhost", // eth JSON-RPC host
|
"RPC_HOST" : "localhost", // eth JSON-RPC host
|
||||||
"RPC_PORT" : "8080", // eth JSON-RPC port
|
"RPC_PORT" : "8080", // eth JSON-RPC port
|
||||||
"INSTANCE_NAME" : "",
|
"INSTANCE_NAME" : "", // whatever you wish to name your node
|
||||||
"WS_SERVER" : "", // path to eth-netstats WebSockets api server
|
"WS_SERVER" : "wss://eth-netstats.herokuapp.com", // path to eth-netstats WebSockets api server
|
||||||
"WS_SECRET" : "", // WebSockets api server secret used for login
|
"WS_SECRET" : "", // WebSockets api server secret used for login
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -45,18 +45,14 @@ pm2 start processes.json
|
|||||||
|
|
||||||
## Updating
|
## Updating
|
||||||
|
|
||||||
To update the API client use the following commands:
|
To update the API client use the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pm2 kill
|
~/bin/www/bin/update.sh
|
||||||
cd ~/bin/www
|
|
||||||
git pull
|
|
||||||
sudo npm update
|
|
||||||
sudo npm install
|
|
||||||
cd ..
|
|
||||||
pm2 start processes.json
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
It will stop the current netstats client processes, automatically detect your ethereum implementation and version, update it to the latest develop build, update netstats client and reload the processes.
|
||||||
|
|
||||||
[travis-image]: https://travis-ci.org/cubedro/eth-net-intelligence-api.svg
|
[travis-image]: https://travis-ci.org/cubedro/eth-net-intelligence-api.svg
|
||||||
[travis-url]: https://travis-ci.org/cubedro/eth-net-intelligence-api
|
[travis-url]: https://travis-ci.org/cubedro/eth-net-intelligence-api
|
||||||
[dep-image]: https://david-dm.org/cubedro/eth-net-intelligence-api.svg
|
[dep-image]: https://david-dm.org/cubedro/eth-net-intelligence-api.svg
|
||||||
|
Loading…
Reference in New Issue
Block a user