mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Updated Deploying Smeagol (markdown)
parent
67e48936ad
commit
a01a1fd572
1 changed files with 8 additions and 3 deletions
|
|
@ -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]].
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue