From fb983ed0e7a228f59cfe980500044dc28a8fda7a Mon Sep 17 00:00:00 2001 From: cubedro Date: Thu, 26 Feb 2015 23:47:56 +0200 Subject: [PATCH] added update in readme.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 70d086c..03aaad0 100644 --- a/README.md +++ b/README.md @@ -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