All checks were successful
Build / build (pull_request) Successful in 1m10s
Renaming file extensions can be a bit of a chore on stock Windows, so this should simplify matters. Another bonus is that the "vanilla" clarifies the general guideline for how the defaults are configured.
9 lines
255 B
Bash
Executable File
9 lines
255 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ ! -f conf/config.json ]; then
|
|
jq --arg value "mongodb://openwfagent:spaceninjaserver@mongodb:27017/" '.mongodbUrl = $value' /app/config-vanilla.json > /app/conf/config.json
|
|
fi
|
|
|
|
exec npm run start -- --configPath conf/config.json
|