add yarn start, use yarn consitently

This commit is contained in:
Oleg Isonen committed 2022-05-21 21:53:51 +02:00
1 parent 742717e6d7
commit ace048c677
3 files changed
+8 -5

No files matched your search

+2 -2
View File
@@ -6,5 +6,5 @@
#!/bin/sh
set -ex
npx prisma migrate deploy --schema ./node_modules/@webstudio-is/sdk/prisma/schema.prisma
npm run start
yarn prisma migrate deploy --schema ./node_modules/@webstudio-is/sdk/prisma/schema.prisma
yarn start
+5 -3
View File
@@ -1,3 +1,5 @@
# fly.toml file generated for webstudio-dev on 2022-05-21T21:31:32+02:00
app = "webstudio-dev"
kill_signal = "SIGINT"
@@ -11,8 +13,8 @@ processes = []
entrypoint = "sh"
[mounts]
source = "data"
destination = "/data"
source = "data"
[[services]]
internal_port = 8080
@@ -26,9 +28,9 @@ processes = []
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
force_https = true
[[services.ports]]
handlers = ["tls", "http"]
@@ -38,4 +40,4 @@ processes = []
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
timeout = "2s"
+1
View File
@@ -5,6 +5,7 @@
"scripts": {
"build": "remix build",
"dev": "node -r dotenv/config node_modules/.bin/remix dev",
"start": "remix-serve build",
"prepare": "remix setup node && yarn migrate && yarn generate",
"typecheck": "tsc -b",
"lint": "eslint . --ext .ts,.tsx --max-warnings 0",