mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
add yarn start, use yarn consitently
This commit is contained in:
1 parent
742717e6d7
commit
ace048c677
3 files changed
+8
-5
No files matched your search
@@ -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
|
||||
@@ -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"
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user