From: Ian Jackson Date: Sat, 12 Dec 2020 00:10:23 +0000 (+0000) Subject: Test config, for use with README.md X-Git-Tag: otter-0.2.0~195 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e732a15c1ff4c50b031ead049b3fb393ed64b89a;p=otter.git Test config, for use with README.md Signed-off-by: Ian Jackson --- 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'