From 13b91d99166c9d0b32b1c52067272fa30f9acb5c Mon Sep 17 00:00:00 2001 From: arzumify Date: Tue, 22 Oct 2024 20:22:25 +0100 Subject: [PATCH] Rename config.json, removed some accidental third-party modules that slipped in there Signed-off-by: arzumify --- README.md | 4 +++- config.json => config.json.example | 8 -------- 2 files changed, 3 insertions(+), 9 deletions(-) rename config.json => config.json.example (78%) diff --git a/README.md b/README.md index d719cbe..8de839e 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ Then, build the server: ./build.sh ``` +After that, configure the server using the `config.json` file (see below), and you're ready to go! + ## Usage To run the server, simply run the binary: ```sh @@ -31,7 +33,7 @@ To run the server, simply run the binary: ``` ## 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 - `port` - The port the server listens on - `ip` - The IP address the server listens on diff --git a/config.json b/config.json.example similarity index 78% rename from config.json rename to config.json.example index 4776014..cb5b3d1 100644 --- a/config.json +++ b/config.json.example @@ -25,14 +25,6 @@ "adminKey": "supersecretkey", "testAppIsInternalApp": true, "testAppEnabled": true - }, - "eternity": { - "hostName": "http://localhost:8000", - "gitDir": "./git", - "outputDir": "./output" - }, - "datatracker": { - "hostName": "http://localhost:8000" } } }