Move websocket behind nginx, add nginx.conf, update README

This commit is contained in:
wiz
2019-08-22 05:25:29 +09:00
parent 9d2e4ee854
commit f0c3ac6b4c
3 changed files with 80 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ Mempool visualizer for the Bitcoin blockchain. Live demo: https://mempool.space/
* Bitcoin (full node required, no pruning)
* NodeJS (official stable LTS)
* MariaDB (default config)
* Nginx (use supplied nginx.conf)
## NodeJS setup
@@ -133,9 +134,11 @@ Then in another terminal:
```
cd ../frontend/
npm run start
npm run build
```
Start nginx using the supplied nginx.conf and copy the resulting dist/ into /var/www/html
## Open Browser
```