ilp-core
Version:
ILP core module managing ledger abstraction
30 lines (22 loc) • 487 B
Markdown
# Upgrading your ilp-kit
Assuming you run ilp-kit through pm2, first take it offline:
```sh
pm2 stop server
pm2 stop api
pm2 stop ledger
```
Now update the code:
```sh
rm -rf node_modules
npm install
npm run build
```
And start it back up:
```sh
pm2 start ledger
pm2 start api
pm2 start server
```
To check that the server is running again, open `https://<your-ilp-kit.com>/api/health`
with your browser, and check that it says 'OK'.
If it doesn't, try running `pm2 restart api`.