Add mempool-config.json to .gitignore, update sample, update README

This commit is contained in:
wiz
2019-08-23 22:35:04 +09:00
parent 9df5024856
commit e95b90b857
3 changed files with 15 additions and 16 deletions

View File

@@ -35,6 +35,12 @@ rpcpassword=71b61986da5b03a5694d7c7d5165ece5
txindex=1
```
## mempool config
Make a copy of the sample config and edit it
```
cp mempool-config.sample.json mempool-config.json
```
Edit mempool-config.json to add your Bitcoin node RPC credentials:
```
"BITCOIN_NODE_HOST": "192.168.1.5",
@@ -67,16 +73,6 @@ Initialize database structure:
mysql -u mempool -p mempool < mariadb-structure.sql
```
Edit mempool-config.json to add your MySQL/MariaDB credentials:
```
"DB_HOST": "127.0.0.1",
"DB_PORT": 3306,
"DB_USER": "mempool",
"DB_PASSWORD": "mempool",
"DB_DATABASE": "mempool",
```
## mempool backend
Create an initial empty cache and start the app: