From a01a1fd572855a6ff9194a2eda35ba2a6936f508 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Mon, 4 Dec 2017 18:56:13 +0000 Subject: [PATCH] Updated Deploying Smeagol (markdown) --- Deploying-Smeagol.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Deploying-Smeagol.md b/Deploying-Smeagol.md index 97abec1..a00f9ca 100644 --- a/Deploying-Smeagol.md +++ b/Deploying-Smeagol.md @@ -46,10 +46,15 @@ This will create a war file in the `target` directory, named `smeagol-`*VERSION* The problem with this is that unless the environment variables (see above) were already set up in the environment of the servlet container at the time when the servlet container were launched, Smeagol will run with its built-in defaults. If you want to change the defaults, you would have to edit the `resources/config.edn` file and recompile the war file. -Smeagol will run as a web-app with the default configuration perfectly satisfactorily. +On Debian/Ubuntu hosts, to have the environment variable(s) set in the environment of the servlet container, edit `/etc/default/tomcat8` and add them as export statements, e.g.: + +``` +# Experimental, added by simon 20171204 +export SMEAGOL_CONFIG=/usr/local/etc/smeagol/config.edn +``` + +Obviously, the configuration has to point to places which the `tomcat8` user can read, and, in the case of content, also write. ## Experimental Docker image You can now run Smeagol as a [Docker](http://www.docker.com) image. Read more about using the [[Docker Image]]. - -