init
This commit is contained in:
8
init-prod-db.sh
Normal file
8
init-prod-db.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
docker compose up -d postgres
|
||||
docker compose run --rm backend npm run prisma:db-push:with-db-url
|
||||
docker compose run --rm backend npm run prisma:seed:with-db-url
|
||||
docker compose up -d backend parser
|
||||
Reference in New Issue
Block a user