UNPKG

ilp-plugin-virtual

Version:

ILP virtual ledger plugin for directly transacting connectors

36 lines (28 loc) 818 B
# Upgrading your ilp-kit Assuming you run ilp-kit through pm2, first take it offline: ```sh pm2 stop web pm2 stop api pm2 stop ledger ``` Update your node version if needed (check `engines` in package.json), for instance: ```sh nvm install 7.7.1 pm2 delete api && pm2 reload pm2.config.js --only api && pm2 stop api ``` Now update the code: ```sh rm -rf node_modules npm install -g yarn yarn install --production ``` And start it back up: ```sh pm2 start ledger pm2 start api pm2 start web ``` 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; pm2 logs api`. If the css of the user interface is missing, try running `pm2 restart web` (maybe also run `npm run build` before that).