13 lines
167 B
Bash
13 lines
167 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
echo "Running database migrations"
|
||
|
npx prisma migrate deploy
|
||
|
|
||
|
echo "Seeding the database"
|
||
|
npx prisma db seed
|
||
|
|
||
|
echo "Starting the server"
|
||
|
node main
|