You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/enketo.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ Enketo provides a web-based form submission UI, which is used in ODK Central for
5
5
Enketo runs as a Node.js server and caches intermediate representations of forms in Redis. ODK Central Backend stores information for managing and launching Enketo forms from ODK Central Frontend, so all three must be configured together.
6
6
7
7
- Clone [enketo-express](https://github.com/enketo/enketo-express) and read the [Manual Installation Instructions](https://github.com/enketo/enketo-express/blob/master/tutorials/00-getting-started.md#manually). Specifically:
8
-
* Install Redis. (Node.js will already be installed to run ODK Central Frontend and Backend.) Enketo will expect Redis on the default port of `6379`.
9
-
* Install dependencies with `npm install`.
8
+
* Install Redis. (Node.js will already be installed to run ODK Central Frontend and Backend.) Enketo will expect Redis on the default port of `6379`.
9
+
* Install dependencies with `npm install`.
10
10
- Configure Enketo. A minimal `config/config.json` for Enketo looks like:
11
11
12
12
```
@@ -20,6 +20,7 @@ Enketo runs as a Node.js server and caches intermediate representations of forms
20
20
}
21
21
},
22
22
"base path": "-",
23
+
"query parameter to pass to submission": "st",
23
24
"redis": {
24
25
"cache": {
25
26
"port": "6379"
@@ -40,9 +41,9 @@ Enketo runs as a Node.js server and caches intermediate representations of forms
40
41
- Run the Enketo server via `npm start` (from the [Enketo Documentation](https://github.com/enketo/enketo-express/blob/master/tutorials/00-getting-started.md#how-to-run)).
41
42
42
43
- There will be three services running:
43
-
* ODK Central Frontend (via Nginx) on port `8989`
44
-
* ODK Central Backend on port `8383`
45
-
* Enketo server on port `8005`
44
+
* ODK Central Frontend (via Nginx) on port `8989`
45
+
* ODK Central Backend on port `8383`
46
+
* Enketo server on port `8005`
46
47
47
48
48
49
### Notes on existing Central Frontend configuration
0 commit comments