- Always stream the visible scenarios, if the modelProvider supports it - Never stream the invisible scenarios Also actually runs our query tasks in a background worker, which we weren't quite doing before.
12 lines
198 B
Bash
Executable File
12 lines
198 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
echo "Migrating the database"
|
|
pnpm prisma migrate deploy
|
|
|
|
echo "Starting the server"
|
|
|
|
pnpm concurrently --kill-others \
|
|
"pnpm start" \
|
|
"pnpm tsx src/server/tasks/worker.ts" |