Commit 9e314a96 authored by Amit Sharma's avatar Amit Sharma
Browse files

Added script to update enketo config at runtime

Showing with 5 additions and 0 deletions
+5 -0
......@@ -5,6 +5,7 @@ tasks:
bash install-node.sh
nvm use 14
cd packages/enketo-express && pnpm i && pnpm i -g grunt
bash update-config.sh
gp sync-done setup
command: |
grunt develop
......
#!/bin/bash
formManagerBaseURI=${GITPOD_WORKSPACE_URL:8}
echo "$( jq '."formManagerBaseURI" = "'"https://3006-$formManagerBaseURI"'"' default-config.json )" > default-config.json
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment