From e732a15c1ff4c50b031ead049b3fb393ed64b89a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 12 Dec 2020 00:10:23 +0000 Subject: [PATCH] Test config, for use with README.md Signed-off-by: Ian Jackson --- .gitignore | 3 +++ server-test.toml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 server-test.toml diff --git a/.gitignore b/.gitignore index d2722dbf..e9780d97 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,9 @@ save/lock *.tmp .tsconfig.*.json stamp/* +/target +*~ +Cargo.lock lock [ag]-* accounts diff --git a/server-test.toml b/server-test.toml new file mode 100644 index 00000000..891a7a5c --- /dev/null +++ b/server-test.toml @@ -0,0 +1,33 @@ +# Copyright 2020 Ian Jackson +# SPDX-License-Identifier: AGPL-3.0-or-later +# There is NO WARRANTY. + +public_url = "http://localhost:18056" +http_port = 18056 + +base_dir = "." +command_socket = "command.socket" +bundled_sources = "target/bundled-sources" +save_dir = "." +template_dir = "templates" +wasm_dir = "target/packed-wasm" + +#save_dir = "/home/rustcargo/Rustup/Game/server" + +#nwtemplate_dir = "/home/ian/Rustup/Game/server/nwtemplates" +#wasm_dir = "/home/rustcargo/Rustup/Game/server/target/packed-wasm" + + +#shapelibs = [ "/home/ian/Rustup/Game/server/library/*.toml" ] + +[log] +global_level = 'debug' + +[log.modules] +rocket = 'error' +_ = "error" # rocket +# ^ comment these two out to see Tera errors, *sigh* + +'hyper::server' = 'info' +"game::debugreader" = 'info' +#"game::updates" = 'trace' -- 2.30.2