Merge "Improve support for environment variables in Dockerfile"
diff --git a/Changes b/Changes
index ba17a44..42c17c1 100755
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+0.39 2020-06-18
+ - Add information on secret file to Readme.
+
0.38 2020-06-16
- Support X-Forwarded-Host name for proxy.
- Document API URI.
diff --git a/README.md b/README.md
index 538674c..8814c2f 100644
--- a/README.md
+++ b/README.md
@@ -5,9 +5,25 @@
![Kalamar Screenshots](https://raw.githubusercontent.com/KorAP/Kalamar/master/dev/demo/img/screenshots.png)
-## INSTALLATION
+## Setup
-### Setup
+The easiest way to install and run Kalamar is using (Docker)[https://www.docker.com/].
+
+```
+$ docker pull korap/kalamar
+```
+
+Then start Kalamar listening on port `64543`.
+
+```
+$ docker run --network="host" --name kalamar korap/kalamar
+```
+
+Kalamar will be available at `http://localhost:64543`.
+See the [description on docker hub](https://hub.docker.com/r/korap/kalamar)
+regarding further information.
+
+## Setup for Development
To fetch the latest version of Kalamar ...
@@ -106,6 +122,11 @@
introduced, that will be consulted during the build process, loading
optional components using a ```require(...)``` directive (see example below).
+### Secret file
+
+Kalamar uses (rotating secrets)[https://mojolicious.org/perldoc/Mojolicious#secrets]
+to sign cookies. Put a file called `kalamar.secret` in the root of the application
+with one secret per line.
### Localization
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm
index 6f83103..12ed96c 100644
--- a/lib/Kalamar.pm
+++ b/lib/Kalamar.pm
@@ -8,7 +8,7 @@
use List::Util 'none';
# Minor version - may be patched from package.json
-our $VERSION = '0.38';
+our $VERSION = '0.39';
# Supported version of Backend API
our $API_VERSION = '1.0';
diff --git a/package.json b/package.json
index dbe9e07..6e451ba 100755
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "Kalamar",
"description": "Mojolicious-based Frontend for KorAP",
"license": "BSD-2-Clause",
- "version": "0.38.0",
+ "version": "0.39.0",
"pluginVersion": "0.2",
"engines": {
"node": ">=6.0.0"