Let’s Create a Collective Guide for Deploying blot.dyi to Platforms Like Netlify, Vercel, or Cloudflare!

Could we make a collective effort to create a step-by-step tutorial on how to deploy blot.dyi to platforms like Netlify, Vercel, or Cloudflare? For those of us who don’t know how to code, this would make life so much easier and encourage more people to use it. Specially being able to quickly showcase your creations online and build an MVP faster!

If we work together, we could create guides for multiple platforms, which would be incredible. For example:

“How to Deploy blot.dyi on Netlify: A Beginner’s Guide”
“Step-by-Step Guide to Deploy blot.dyi on Vercel for Non-Coders”
“How to show your apps, websites online. Complete Beginner’s Guide”

What you guys think? Let’s make it happen!

3 Likes

I can take care of the initial “Deploying to Cloudflare Pages” guide, and best practices because I’ve done this a few times now and have worked out the process pretty well.

2 Likes

That would be awesome, thanks AliasFox! Your guide would be very helpful for deploying web apps that can be scalable at a lower cost than Vercel or other services. I heard that deploying on Cloudflare is cheaper than Vercel or Netlify - is this true? Have a great day!

looks like netlify can be used directly from the webcontainer shell

4 Likes

Has anyone created a settings guide for netlify deployment?

eg are the default build settings correct for the react template?

Googling a bit, maybe it needs the vite remix template to start with?

which is the one I started the build on
read this, unsure how to incorporate that advice if its relevant

npx create-remix@latest --template netlify/remix-template

10:25:47 AM: Netlify Build
10:25:47 AM: ────────────────────────────────────────────────────────────────
10:25:47 AM: ​
10:25:47 AM: ❯ Version
10:25:47 AM: @netlify/build 29.58.1
10:25:47 AM: ​
10:25:47 AM: ❯ Flags
10:25:47 AM: accountId: 677ce6c83f0518ea8f30dd8e
10:25:47 AM: baseRelDir: true
10:25:47 AM: buildId: 677db7e01de58f65463a3b68
10:25:47 AM: deployId: 677db7e01de58f65463a3b6a
10:25:47 AM: ​
10:25:47 AM: ❯ Current directory
10:25:47 AM: /opt/build/repo
10:25:47 AM: ​
10:25:47 AM: ❯ Config file
10:25:47 AM: No config file was defined: using default values.
10:25:47 AM: ​
10:25:47 AM: ❯ Context
10:25:47 AM: production
10:25:47 AM: ​
10:25:47 AM: Build command from Netlify app
10:25:47 AM: ────────────────────────────────────────────────────────────────
10:25:47 AM: ​
10:25:47 AM: $ remix vite:build
10:25:47 AM: bash: line 1: remix: command not found
10:25:47 AM: ​
10:25:47 AM: “build.command” failed
10:25:47 AM: ────────────────────────────────────────────────────────────────
10:25:47 AM: ​
10:25:47 AM: Error message
10:25:47 AM: Command failed with exit code 127: remix vite:build (Search results for '"non-zero exit code: 127"' - Netlify Support Forums)
10:25:47 AM: ​
10:25:47 AM: Error location
10:25:47 AM: In Build command from Netlify app:
10:25:47 AM: remix vite:build
10:25:47 AM: ​
10:25:47 AM: Resolved config
10:25:47 AM: build:
10:25:47 AM: command: remix vite:build
10:25:47 AM: commandOrigin: ui
10:25:47 AM: publish: /opt/build/repo/dist/client
10:25:47 AM: publishOrigin: ui
10:25:48 AM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
10:25:48 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
10:25:48 AM: Failing build: Failed to build site
10:25:48 AM: Finished processing build request in 15.989s

1 Like

Not sure because I haven’t deployed to netlify, but maybe the same as for Deploying with Cloudflare Pages?

Branch: stable
Build command: npm i pnpm & pnpm i & pnpm build
Publish Directory: build/client

And leave root/base directory blank (root or / assumed).

3 Likes