Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

add yarn start, use yarn consitently

Oleg Isonenace048c677f7
diff --git a/fly.sh b/fly.sh
index dcaa1daab0..266293c550 100644
--- a/fly.sh
+++ b/fly.sh
@@ -6,5 +6,5 @@
#!/bin/sh
set -ex
-npx prisma migrate deploy --schema ./node_modules/@webstudio-is/sdk/prisma/schema.prisma
-npm run start
\ No newline at end of file
+yarn prisma migrate deploy --schema ./node_modules/@webstudio-is/sdk/prisma/schema.prisma
+yarn start
\ No newline at end of file
diff --git a/fly.toml b/fly.toml
index 75e3cb56b8..b3bed86d73 100644
--- a/fly.toml
+++ b/fly.toml
@@ -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"
\ No newline at end of file
+ timeout = "2s"
diff --git a/package.json b/package.json
index 8445100347..3c4d589c34 100644
--- a/package.json
+++ b/package.json
@@ -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",