Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-workflow
Commits
9e314a96
Commit
9e314a96
authored
2 years ago
by
Amit Sharma
Browse files
Options
Download
Patches
Plain Diff
Added script to update enketo config at runtime
parent
806de6cc
main
dev
feat/centro
feature/formlistapi
fix/remove-forms
revert-67-contributeByGitpod
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitpod.yml
+1
-0
.gitpod.yml
update-config.sh
+4
-0
update-config.sh
with
5 additions
and
0 deletions
+5
-0
.gitpod.yml
+
1
−
0
View file @
9e314a96
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
update-config.sh
0 → 100644
+
4
−
0
View file @
9e314a96
#!/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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets