Rename config.json, removed some accidental third-party modules that slipped in there
Signed-off-by: arzumify <jliwin98@danwin1210.de>
This commit is contained in:
parent
93a984b951
commit
13b91d9916
|
@ -24,6 +24,8 @@ Then, build the server:
|
||||||
./build.sh
|
./build.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
After that, configure the server using the `config.json` file (see below), and you're ready to go!
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
To run the server, simply run the binary:
|
To run the server, simply run the binary:
|
||||||
```sh
|
```sh
|
||||||
|
@ -31,7 +33,7 @@ To run the server, simply run the binary:
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
The server can be configured using a `config.json` file. An example configuration file is provided in the repository.
|
The server can be configured using a `config.json` file. An example configuration file is provided in the repository as `config.json.example`. The configuration file is structured as follows:
|
||||||
### Global
|
### Global
|
||||||
- `port` - The port the server listens on
|
- `port` - The port the server listens on
|
||||||
- `ip` - The IP address the server listens on
|
- `ip` - The IP address the server listens on
|
||||||
|
|
|
@ -25,14 +25,6 @@
|
||||||
"adminKey": "supersecretkey",
|
"adminKey": "supersecretkey",
|
||||||
"testAppIsInternalApp": true,
|
"testAppIsInternalApp": true,
|
||||||
"testAppEnabled": true
|
"testAppEnabled": true
|
||||||
},
|
|
||||||
"eternity": {
|
|
||||||
"hostName": "http://localhost:8000",
|
|
||||||
"gitDir": "./git",
|
|
||||||
"outputDir": "./output"
|
|
||||||
},
|
|
||||||
"datatracker": {
|
|
||||||
"hostName": "http://localhost:8000"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue