Sign inSign up

bitdesert/mynanoninja-web

By bitdesert

•Updated about 4 years ago

My Nano Ninja - WEB

Image
0

500K+

bitdesert/mynanoninja-web repository overview


Logo

⁠My Nano Ninja

The perfect tool for Nano representatives lists and network statistics.

⁠What is Nano?

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⁠.

⁠Prerequisites

  • Webserver like nginx as a reverse proxy
  • MongoDB
  • Nano Node with RPC enabled
  • Node.js
  • PM2 npm install pm2 -g

⁠Installation

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;
        }
}

⁠Open Source Licenses

This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com⁠.

Tag summary

Content type

Image

Digest

sha256:a5c45bc7a…

Size

367.6 MB

Last updated

about 4 years ago

docker pull bitdesert/mynanoninja-web