Create OpenMapKit forms directory

This commit is contained in:
Disassembler 2018-03-16 16:09:05 +01:00
parent 77043ccd62
commit 412e9b7c42
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -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