diff --git a/readme.txt b/README.md similarity index 97% rename from readme.txt rename to README.md index e3d0919..4d9dc16 100644 --- a/readme.txt +++ b/README.md @@ -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": { @@ -136,4 +143,5 @@ db.conf like this: "maxage": 31, "compress": true } -} \ No newline at end of file +} +``` \ No newline at end of file