The perfect tool for Nano representatives lists and network statistics
The perfect tool for Nano representatives lists and network statistics.
Nano's goal is to become "a global currency with instantaneous transactions and zero fees over a secure, decentralized network." More information is available over on the official Nano repository.
npm install pm2 -g
Clone the repository to your server and install the dependencies with npm i
.
After that copy the ecosystem.config.sample.js
as ecosystem.config.js
and edit the environment variables accordingly.
To start up the application execute pm2 start ecosystem.config.js
.
It is recommended to put the application behind a proper webserver like nginx, a configuration for that could look like this:
server {
listen 80;
listen [::]:80;
server_name mynano.ninja;
// location to your MyNanoNinja
location / {
proxy_pass http://127.0.0.1:4000;
}
// location to your accept-nano instance
location /payment/ {
rewrite ^/payment(/.*)$ $1 break;
proxy_pass http://127.0.0.1:5000;
}
}
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.