Create OpenMapKit forms directory
This commit is contained in:
parent
77043ccd62
commit
412e9b7c42
@ -8,7 +8,7 @@ docker build -t openmapkit ${SOURCE_DIR}
|
|||||||
# Configure OpenMapKit
|
# Configure OpenMapKit
|
||||||
export OMK_ADMIN_USER="admin"
|
export OMK_ADMIN_USER="admin"
|
||||||
export OMK_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
export OMK_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
||||||
mkdir -p /srv/openmapkit/conf /srv/openmapkit/data/deployments /srv/openmapkit/data/submissions
|
mkdir -p /srv/openmapkit/conf /srv/openmapkit/data/deployments /srv/openmapkit/data/forms /srv/openmapkit/data/submissions
|
||||||
chown -R 8007:8007 /srv/openmapkit/data
|
chown -R 8007:8007 /srv/openmapkit/data
|
||||||
envsubst <${SOURCE_DIR}/srv/openmapkit/conf/settings.js >/srv/openmapkit/conf/settings.js
|
envsubst <${SOURCE_DIR}/srv/openmapkit/conf/settings.js >/srv/openmapkit/conf/settings.js
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user