Join the Webstudio community

Updated 5 months ago

How can i self-host the "builder" (not just linking the webstudio cloud project to localhost)?

At a glance

The community members are discussing how to self-host the Webstudio builder. They have tried various options like VS Code, Codespace, Vercel, and Docker, but have faced issues with each approach. Some community members suggest that Vercel is not a viable option, while others think documenting the Vercel setup could be worth the effort. There are also discussions around running the builder locally, with some community members facing problems with the pnpm build step and the TRPC connection. The community members recommend trying Windows Subsystem for Linux (WSL) as none of the developers are using Windows. There are also discussions around using Coolify for hosting, but the community members do not seem to have experience with it.

Useful resources
I've reviewed the docs on Webstudio CLI which provides info on how you can link a webstudio cloud to webstudio self-hosted but I don't see anything regarding how we can self-host the builder itself. Is that an option? If so, can you please guide me (even general steps on what to take):

https://docs.webstudio.is/university/self-hosting-and-cli
8
A
M
B
22 comments
Check out this page in the docs: https://docs.webstudio.is/contributing/contributing-for-developers

I'm successfully running the builder using VS Code.
Iv followed the steps for each option (vscode,codespace,vercel, w/ docker. without) and ran into issues along the way everytime. Currently Im facing an exit error after pnpm install while trying to deploy to vercel from codespace because codespace is the only place i could get the builder to run. The error is because vercel is using a conflicting version of node and pnpm and i don't know how to force the right dependencies.. also Got it running locally but the TRPC wouldn't connect to create a new project. Would be happy to pay a dev who is familiar with this build for an hour of time to help. Thx guys.
We barely did it ourselves. Honestly vercel is not a way to go here.
We could document our setup on vercel somehow? its just about env settings, no?
I don't see a reason to waste time on documenting vercel which will break again eventually because of their builder upgrades.
depends on the effort, if its just showing our env settings, it would take 5 minutes - worth it
getting the same issue. I run into an issue with pnpm migrations migrate failing on the
  • 20240807000548_deleted-project-free-domain
Error: Command failed with exit code 1: prisma db execute --file /home/ubuntu/webstudio/packages/prisma-client/prisma/migrations/20240807000548_deleted-project-free-domain/migration.sql --schema /home/ubuntu/webstudio/packages/prisma-client/prisma/schema.prisma
Error: ERROR: schema "extensions" does not exist

I can run pnpm dev but i get the an issue when i try to create a new project

trpc-client.ts:123 TRPC ERROR TRPCClientError
at _TRPCClientError.from (@trpc_client.js?v=013d1fd6:129:14)
at @trpc_client.js?v=013d1fd6:469:46
Has anyone else had success with running the builder locally? I've also tried all the options on https://docs.webstudio.is/contributing/contributing-for-developers and not winning at all. Couldn't even get it to run on codespace 😩 if anyone can share their steps on a working local version that would be freaken awesome 🫶
can you share what's happening for you?
We don't use it 🙂
Can you guys help me setup webstudio on coolify?
Plain Text
 
PS F:\workspace\webstudio-main> pnpm build

> [email protected] build F:\workspace\webstudio-main
> pnpm -r --filter='!./fixtures/*' build

No projects matched the filters in "F:\workspace\webstudio-main"
The pnpm build step does not work. I just want to host it in my computer but none of the methods in https://docs.webstudio.is/contributing/contributing-for-developers work
None of devs is using windows, so we cannot be sure it works there. We recommend to try wsl.
Any ideas on the coolify integration?
Does hosting on Vercel , require you to Fork the repository on GitHub? Because the webstudio docs seems to have missed this step? under Builder deployment to Vercel
Thanks I meant self host the builder....
really get some overview over documentation please
Add a reply
Sign up and join the conversation on Discord