diff --git a/build-and-deploy.sh b/build-and-deploy.sh new file mode 100755 index 0000000..31381af --- /dev/null +++ b/build-and-deploy.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +dub clean +dub build --build=release +scp create-schematic-gen-site root@134.209.223.55:/opt/create-schematic-gen-site/ +ssh -f root@134.209.223.55 'systemctl restart csgs' diff --git a/source/app.d b/source/app.d index d9d3b1c..0d324a1 100644 --- a/source/app.d +++ b/source/app.d @@ -14,6 +14,7 @@ const EXTRACT_COMMAND = ["java", "-jar", "materials-extractor-v1.0.0.jar"]; void main() { auto provider = new shared DefaultProvider(true, Levels.INFO); configureLoggingProvider(provider); + info("Starting create-schematic-gen-site API."); ServerConfig config = ServerConfig.defaultValues(); config.workerPoolSize = 3;