Spaces:
Build error
Build error
Create src/start.sh
Browse files- src/start.sh +8 -0
src/start.sh
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh -ex
|
| 2 |
+
|
| 3 |
+
# This file is how Fly starts the server (configured in fly.toml). Before starting
|
| 4 |
+
# the server though, we need to run any prisma migrations that haven't yet been
|
| 5 |
+
# run, which is why this file exists in the first place.
|
| 6 |
+
# Learn more: https://community.fly.io/t/sqlite-not-getting-setup-properly/4386
|
| 7 |
+
|
| 8 |
+
npm run start
|