diff README.md @ 330:fd04bccae6ca

Create standard roles as part of the base schema. We will always need: 1. a gemma service user 2. an initial sys_admin user so these are now created as part of the base gemma schema. The install-db script now creates random default passwords for this accounts. As the complexity is sufficiently increased by now I also changed the Quick Start guide to use an configuration file and provided an example file.
author Sascha Wilde <wilde@intevation.de>
date Fri, 03 Aug 2018 13:40:10 +0200
parents 9d6ba97a31d2
children 0f78b13f4a9a
line wrap: on
line diff
--- a/README.md	Fri Aug 03 10:52:03 2018 +0200
+++ b/README.md	Fri Aug 03 13:40:10 2018 +0200
@@ -32,14 +32,22 @@
 
 ## Running gemma
 
-- In the top level directory of the repo run:
-  `./cmd/gemma/gemma -s session.data -w ./web`
+- Best is to create a configuration file.  Copy the example from
+  `cmd/gemma/gemma.toml.example` to get started:
+  ```
+  cp cmd/gemma/gemma.toml.example gemma.toml
+  ```
 
-- To listen on a specific port and interface:
-  ```
-  ./cmd/gemma/gemma -s session.data -w ./web \
-                    --host 192.168.46.72 -p 8088
-  ```
+- Edit `gemma.toml`, some parameters you propably want to change:
+
+  * `host` and `port` to make gemma listen on a public interface
+  * `service-password` to match the password for "gemma_service" user
+    of your database.
 
 - `./cmd/gemma/gemma -h` gives you an overview of more available
   options.
+
+- Then start gemma:
+  ```
+
+  ```