Skip to content

Commit

Permalink
Add prisma generate command
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Jun 20, 2024
1 parent 9b1fc2a commit 6efb16a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ check_variable "TAG"
check_variable "GITHUB_USERNAME"
check_variable "GITHUB_PASSWORD"
check_variable "DOMAIN"
check_variable "CLIENT_SECRET"
check_variable "DATABASE_URL"


if [ ! -f key.pem ]; then
Expand Down
6 changes: 6 additions & 0 deletions scripts/run_server.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/usr/bin/env bash

cat <<< "$CLIENT_SECRET" > client_secret.json

# ToDo: Uncomment the below line once we have project specific migrations
# prisma migrate deploy
prisma generate

uvicorn google_sheets.app:app --workers 2 --host 0.0.0.0 --proxy-headers

0 comments on commit 6efb16a

Please sign in to comment.