Backend for https://github.com/byteball/obyte-explorer-frontend
Install node.js 10+, clone the repository, then
yarn
node migration.js
node explorer.js
server {
listen 80;
server_name localhost;
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://127.0.0.1:4000;
}
location ~ \.(js|ico|css|png) {
root /path/to/dist;
}
}
By default, the explorer will be available at http://localhost:4000