This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move from environment variables based configuration to config files
all configuration is now specified in src/main/resources/config.edn
- Loading branch information
Daniel Marjenburgh
committed
Feb 21, 2015
1 parent
41fa5df
commit 8c49929
Showing
11 changed files
with
72 additions
and
79 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
;; Server | ||
:server-port "7000" | ||
|
||
;; Database | ||
:db-uri "file:./.visualreview/visualreview.db" | ||
:db-user "" | ||
:db-password "" | ||
|
||
;; File system | ||
:screenshots-dir ".visualreview/screenshots" | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
;; Server | ||
:server-port "7001" | ||
|
||
;; Database | ||
:db-uri "dummy:123//db" | ||
:db-user "test-user" | ||
:db-password "test-password" | ||
|
||
;; File system | ||
:screenshots-dir ".visualreview/screenshots-test" | ||
|
||
;; Fake testing fields | ||
:nonexistent-configuration-key "Some value" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
#!/bin/bash | ||
|
||
export VISUALREVIEW_PORT=7000 | ||
export VISUALREVIEW_DB_URI="file:./.visualreview/vr-h2.db" | ||
export VISUALREVIEW_DB_USER="" | ||
export VISUALREVIEW_DB_PASSWORD="" | ||
export VISUALREVIEW_SCREENSHOTS_DIR="./.visualreview/screenshots" | ||
|
||
java -jar target/visualreview-0.0.1-SNAPSHOT-standalone.jar |