2.1.0 • Published 3 months ago

edge-info-server v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Edge Wallet and SDK info server

Provides various info such as mining fees, server lists, and supported currency/token info

Installation

Install Yarn

https://linuxize.com/post/how-to-install-yarn-on-ubuntu-18-04/

Install Node

curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh

Run Yarn

yarn

Install and run CouchDB v3.1 (use apt install process for Ubuntu 18.04)

https://docs.couchdb.org/en/3.1.0/install/index.html

Launch API server

node lib/indexInfo.js

Launch background tasks

node lib/infoEngines.js

Launch API server and rates engine for production

Install pm2 globally

sudo npm install pm2 -g

Install pm2 log rotation (note: the command is pm2 instead of npm)

sudo pm2 install pm2-logrotate

Run as standard user

pm2 start pm2.json

Restart, stop, delete service

Control pm2

pm2 stop infoServer
pm2 restart infoServer
pm2 delete infoServer

pm2 stop infoEngine
pm2 restart infoEngine
pm2 delete infoEngine

Launch pm2 on restart

pm2 startup
pm2 save

Monitor logs and status

pm2 monit
pm2 logs <infoServer|infoEngine|'all'>

Please see our Caddy setup documentation for details.

2.1.0

3 months ago

2.0.0

3 months ago

1.4.0

4 months ago

1.2.0

5 months ago

1.0.2

7 months ago

1.1.0

6 months ago

1.0.1

7 months ago

1.0.0

7 months ago