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
32b6510c
Commit
32b6510c
authored
2 years ago
by
Tushar
Browse files
Options
Download
Patches
Plain Diff
fix start.sh
parent
929f7016
main
dev
feat/centro
feature/formlistapi
revert-67-contributeByGitpod
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/enketo-express/start.sh
+9
-5
packages/enketo-express/start.sh
with
9 additions
and
5 deletions
+9
-5
packages/enketo-express/start.sh
+
9
−
5
View file @
32b6510c
#!/bin/bash
jq
-r
--arg
ENCRYPTION_KEY
$ENCRYPTION_KEY
'."encryption key" |= $ENCRYPTION_KEY'
config/default-config.json
>
config/default-config.json
cp
config/default-config.json tmp.json
jq
-r
--arg
ENCRYPTION_KEY
$ENCRYPTION_KEY
'."encryption key" |= $ENCRYPTION_KEY'
tmp.json
>
config/default-config.json
jq
-r
--arg
LESS_SECURE_ENCRYPTION_KEY
$LESS_SECURE_ENCRYPTION_KEY
'."less secure encryption key" |= $LESS_SECURE_ENCRYPTION_KEY'
config/default-config.json
>
config/default-config.json
jq
-r
--arg
REDIS_MAIN_HOST
$REDIS_MAIN_HOST
'."redis.main.host" |= $REDIS_MAIN_HOST'
config/default-config.json
>
config/default-config.json
jq
-r
--arg
REDIS_MAIN_CACHE
$REDIS_MAIN_PORT
'."redis.main.port" |= $REDIS_MAIN_PORT'
config/default-config.json
>
config/default-config.json
jq
-r
--arg
REDIS_MAIN_HOST
$REDIS_MAIN_HOST
'."redis.main.host" |= $REDIS_MAIN_HOST'
tmp.json
>
config/default-config.json
jq
-r
--arg
REDIS_MAIN_CACHE
$REDIS_MAIN_PORT
'."redis.main.port" |= $REDIS_MAIN_PORT'
tmp.json
>
config/default-config.json
jq
-r
--arg
REDIS_CACHE_HOST
$REDIS_CACHE_HOST
'."redis.cache.host" |= $REDIS_CACHE_HOST'
tmp.json
>
config/default-config.json
jq
-r
--arg
REDIS_CACHE_CACHE
$REDIS_CACHE_PORT
'."redis.cache.port" |= $REDIS_CACHE_PORT'
tmp.json
>
config/default-config.json
jq
-r
--arg
REDIS_CACHE_HOST
$REDIS_CACHE_HOST
'."redis.cache.host" |= $REDIS_CACHE_HOST'
config/default-config.json
>
config/default-config.json
jq
-r
--arg
REDIS_CACHE_CACHE
$REDIS_CACHE_PORT
'."redis.cache.port" |= $REDIS_CACHE_PORT'
config/default-config.json
>
config/default-config.json
rm
tmp.json
node app.js
\ 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