diff --git a/scripts/run.sh b/scripts/run.sh index 67c5cb508..ba017d05e 100644 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -8,6 +8,9 @@ cd ./migrate; yarn db:migrate & PID=$! # Wait for migration to finish wait $PID +## If 'default.json' does not exist in '/app/data/configs', we copy it from '/app/data/default.json' +cp -n /app/data/default.json /app/data/configs/default.json + echo "Starting production server..." node /app/server.js & PID=$!