Added deploy script.
This commit is contained in:
parent
b91e57669c
commit
1c263e2049
|
@ -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'
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue