It's a clearer name. Also reorganize the filesystem so all the promptConstructor related files are colocated.
15 lines
277 B
Bash
Executable File
15 lines
277 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
echo "Migrating the database"
|
|
pnpm prisma migrate deploy
|
|
|
|
echo "Migrating promptConstructors"
|
|
pnpm tsx src/promptConstructor/migrate.ts
|
|
|
|
echo "Starting the server"
|
|
|
|
pnpm concurrently --kill-others \
|
|
"pnpm start" \
|
|
"pnpm tsx src/server/tasks/worker.ts" |