Skip to content

Commit 41db5ca

Browse files
author
doctorpangloss
committed
update deployment
1 parent 3700458 commit 41db5ca

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To implement new effects (called **Spells** inside Spellsource) add a new Spell
2020

2121
You can learn more about the Spellsource AI as implemented in the [GameStateValueBehaviour](spellsource-game/src/main/java/net/demilich/metastone/game/behaviour/GameStateValueBehaviour.java) class.
2222

23-
The server application starts in [EntryPoint](spellsource-server/src/main/java/com/hiddenswitch/framework/EntryPoint.java). `./gradlew spellsource:runServer` uses the test [EntryPoint](spellsource-server/src/test/java/com/hiddenswitch/framework/tests/applications/EntryPoint.java).
23+
The server application starts in [EntryPoint](spellsource-server/src/main/java/com/hiddenswitch/framework/EntryPoint.java). `./gradlew spellsource:runServer` uses the test [EntryPoint](spellsource-server/src/test/java/com/hiddenswitch/framework/tests/applications/EntryPoint.java). The configuration files are expected to be located in the `conf/` directory and matching the pattern `spellsource-*.yaml`.
2424

2525
The client is private, please contact for access on the Discord.
2626

spellsource-private/src/secrets

spellsource-server/src/main/java/com/hiddenswitch/framework/Environment.java

+1
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ public static Stream<ServerConfiguration> fileConfigurations() {
470470
try {
471471
filesystemConfigurationIterable = Files.walk(currentWorkingDirectoryPath, 1, FileVisitOption.FOLLOW_LINKS);
472472
} catch (IOException e) {
473+
LOGGER.error("No configuration directory found at {}/, using default configuration", currentWorkingDirectoryPath);
473474
filesystemConfigurationIterable = Stream.empty();
474475
}
475476
var pattern = Pattern.compile("^.*" + CONFIGURATION_NAME_TOKEN + ".*\\.ya?ml$");

0 commit comments

Comments
 (0)