Use script approach for starting etherpad.

This commit is contained in:
SamTV12345 2024-01-20 18:28:30 +01:00
parent fadc56e437
commit cfaee1a1a7
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ MY_DIR=$(try cd "${0%/*}" && try pwd -P) || exit 1
try cd "${MY_DIR}/../../../.." try cd "${MY_DIR}/../../../.."
log "Assuming src/bin/installDeps.sh has already been run" log "Assuming src/bin/installDeps.sh has already been run"
npx ts-node src/node/server.ts --experimental-worker "${@}" & npm run dev --experimental-worker "${@}" &
ep_pid=$! ep_pid=$!
log "Waiting for Etherpad to accept connections (http://localhost:9001)..." log "Waiting for Etherpad to accept connections (http://localhost:9001)..."

View file

@ -11,7 +11,7 @@ MY_DIR=$(try cd "${0%/*}" && try pwd -P) || exit 1
try cd "${MY_DIR}/../../../.." try cd "${MY_DIR}/../../../.."
log "Assuming src/bin/installDeps.sh has already been run" log "Assuming src/bin/installDeps.sh has already been run"
npx ts-node src/node/server.ts --experimental-worker "${@}" & npm run dev --experimental-worker "${@}" &
ep_pid=$! ep_pid=$!
log "Waiting for Etherpad to accept connections (http://localhost:9001)..." log "Waiting for Etherpad to accept connections (http://localhost:9001)..."

View file

@ -19,7 +19,7 @@ s!"points":[^,]*!"points": 1000!
log "Deprecation notice: runnerBackend.sh - Please use: cd src && npm test" log "Deprecation notice: runnerBackend.sh - Please use: cd src && npm test"
log "Assuming src/bin/installDeps.sh has already been run" log "Assuming src/bin/installDeps.sh has already been run"
npx ts-node src/node/server.ts "${@}" & npm run dev "${@}" &
ep_pid=$! ep_pid=$!
log "Waiting for Etherpad to accept connections (http://localhost:9001)..." log "Waiting for Etherpad to accept connections (http://localhost:9001)..."