Updated Deploying Smeagol (markdown)

Simon Brooke 2017-12-04 18:56:13 +00:00
parent 67e48936ad
commit a01a1fd572

@ -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]].