added update in readme.md

This commit is contained in:
cubedro 2015-02-26 23:47:56 +02:00
parent 28228c5cc4
commit fb983ed0e7
1 changed files with 14 additions and 0 deletions

View File

@ -42,6 +42,20 @@ cd ~/bin
pm2 start processes.json
```
## Updating
To update the API client use the following commands:
```
pm2 kill
cd ~/bin/www
git pull
sudo npm update
sudo npm install
cd ..
pm2 start processes.json
```
[travis-image]: https://travis-ci.org/cubedro/eth-net-intelligence-api.svg
[travis-url]: https://travis-ci.org/cubedro/eth-net-intelligence-api
[dep-image]: https://david-dm.org/cubedro/eth-net-intelligence-api.svg