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
a1fc57d3
Commit
a1fc57d3
authored
2 years ago
by
Tushar
Browse files
Options
Download
Patches
Plain Diff
Refactor gitpod.yml and init scripts
parent
2fb44953
main
dev
feat/centro
feature/formlistapi
revert-67-contributeByGitpod
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitpod.yml
+3
-5
.gitpod.yml
install-node.sh
+0
-13
install-node.sh
packages/enketo-express/update-config.sh
+0
-6
packages/enketo-express/update-config.sh
with
3 additions
and
24 deletions
+3
-24
.gitpod.yml
+
3
−
5
View file @
a1fc57d3
...
...
@@ -14,14 +14,12 @@ tasks:
init
:
|
gp sync-done dev-setup
bash install-central.sh
-
name
:
S
etup Enketo Expr
es
s
-
name
:
S
tart Other Servic
es
openMode
:
tab-after
init
:
|
gp sync-done dev-setup
bash install-node.sh
nvm use 14
cd packages/enketo-express && pnpm i && pnpm i -g grunt
bash update-config.sh
sed -i~ "/^FORM_MANAGER_BASE_URI=/s/=.*/=3006-${GITPOD_WORKSPACE_URL:8}/" .env
docker-compose up -d
gp sync-done setup
command
:
|
grunt develop
...
...
This diff is collapsed.
Click to expand it.
install-node.sh
deleted
100644 → 0
+
0
−
13
View file @
2fb44953
#!/bin/bash
docker-compose
-f
docker-compose.gitpod.yaml up
-d
curl
-o-
https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
export
NVM_DIR
=
"
$(
[
-z
"
${
XDG_CONFIG_HOME
-
}
"
]
&&
printf
%s
"
${
HOME
}
/.nvm"
||
printf
%s
"
${
XDG_CONFIG_HOME
}
/nvm"
)
"
[
-s
"
$NVM_DIR
/nvm.sh"
]
&&
\.
"
$NVM_DIR
/nvm.sh"
# This loads nvm
nvm
install
v14.19.1
nvm
install
16
nvm use 14
wget
-qO-
https://get.pnpm.io/install.sh |
ENV
=
"
$HOME
/.bashrc"
SHELL
=
"
$(
which bash
)
"
bash -
\ No newline at end of file
This diff is collapsed.
Click to expand it.
packages/enketo-express/update-config.sh
deleted
100644 → 0
+
0
−
6
View file @
2fb44953
#!/bin/bash
cd
./config
formManagerBaseURI
=
${
GITPOD_WORKSPACE_URL
:8
}
echo
"
$(
jq
'."formManagerBaseURI" = "'
"https://3006-
$formManagerBaseURI
"
'"'
default-config.json
)
"
>
default-config.json
cd
..
\ 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