@yanokwa and @aankrah
Thank you so much. I have been desperate, trying to move within the directory and then I noticed I haven´t been in root
. Feels like, I didn´t see the forest because of the many trees (German saying).
Now, I have a different issue.
The link for customizing enketo is very helpful, though I don´t know how and where to write the agruments. My goal is to add the google API Key, so that for the map widget, search bar function is working as well as the satelitte images.
My config.json looks like this:
{
"app name": "Enketo for SUFACHAIN",
"base path": "-",
"encryption key": "${SECRET}",
"id length": 31,
"less secure encryption key": "${LESS_SECRET}",
"linked form and data server": {
"api key": "${API_KEY}",
"authentication": {
"type": "cookie",
"url": "${BASE_URL}/#/login?next={RETURNURL}"
},
"name": "ODK Central",
"server url": "${DOMAIN}"
},
"logo": {
"source": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",
"href": ""
},
"offline enabled": true,
"payload limit": "1mb",
"port": "8005",
"query parameter to pass to submission": "st",
"redis": {
"main": {
"host": "enketo_redis_main",
"port": "6379"
},
Where and how shall I put the google API key?
I only find this code for the map display
[ {
"name": "street",
"tiles": [ "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" ],
"attribution": "Map data © <a href=\"http://openstreetmap.org\">OpenStreetMap</a> contributors"
}, {
"name": "satellite",
"tiles": "GOOGLE_SATELLITE"
} ]
If this topic has been discussed somewhere already, please feel free to refer me to the thread.