forked from remix-run/indie-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b5a4ef
commit 946adc8
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This file is how Fly starts the server (configured in fly.toml). Before starting | ||
# the server though, we need to run any prisma migrations that haven't yet been | ||
# run, which is why this file exists in the first place. | ||
# Learn more: https://community.fly.io/t/sqlite-not-getting-setup-properly/4386 | ||
|
||
#!/bin/sh | ||
|
||
set -ex | ||
npx prisma migrate deploy | ||
npm run start |