update README
This commit is contained in:
parent
4d4596a641
commit
c065a36142
|
@ -1,10 +1,15 @@
|
|||
# start
|
||||
```
|
||||
cd cmd/server
|
||||
go build -o server
|
||||
cd cmd/gbt
|
||||
go build -o gbt
|
||||
|
||||
```
|
||||
# config
|
||||
```
|
||||
Add the following config files to the same directory as the compiled files
|
||||
|
||||
```
|
||||
```
|
||||
gbt.conf like this:
|
||||
{
|
||||
"coin": "test",
|
||||
|
@ -55,7 +60,8 @@ gbt.conf like this:
|
|||
"compress": true
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
```
|
||||
server.conf like this:
|
||||
{
|
||||
"coin": "test",
|
||||
|
@ -101,7 +107,8 @@ server.conf like this:
|
|||
"compress": true
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
```
|
||||
db.conf like this:
|
||||
{
|
||||
"db": {
|
||||
|
@ -137,3 +144,4 @@ db.conf like this:
|
|||
"compress": true
|
||||
}
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue