The community member has a client who has security and privacy concerns and wants a self-hosted web builder solution. The community member has almost got it working but is running into issues. The comments suggest that the best approach is for the community member to build a separate UI where the client can invoke the CLI and deploy the project to their own infrastructure. The community member cannot detect the publish event from the cloud, so they will need to have a two-step process where the client clicks publish in the builder and then publishes in the community member's service. The community member was informed that the ability to specify a publish webhook is on the roadmap but not currently available.
So first off, I just want to say that Web Studio is a great product, and I love what you guys are doing here.
I have a particular client who wants a web builder project done, but they have huge security and privacy concerns. I told them that self-hosting would be an option, and they liked the sound of that, so they decided to work with me. However, I found out that self-hosting is actually a really difficult thing to do.
I'm almost there; I've almost got it working, but I'm running into a few issues that I'm hoping someone in the community or from the team can help me debug.
Besides this client, I love using the Web Studio cloud version to support the team, obviously. But for this particular instance, self-hosting is imperative to figure out. I don't think there are any other good options for a self-hosted web builder.
Why cloud builder is a security concern for them? Resulting website can be still self-hosted without any connection to our cloud. So they still have full control over website.
To have a fully managed solution, my client wants to make changes and updates to their website on the fly. They don't necessarily have the technical know-how to host and deploy their changes.
Since they want the website to be hosted on their own servers, in order for them to click the publish button, I assume that it needs to be done through the web builder itself. Unless there's a simple way for them to easily upload new changes from the cloud version to their self-hosted site.
This will not work with self hosted builder either because requires separate service which will run CLI when user click publish. And it is not part of open source builder for now.
Since there are no published webhooks, what's the best way to invoke the CLI once the user clicks publish?
I can do Docker hosting, but I don't know how to get the publish event without using webhooks. I looked through the documentation and didn't see any webhooks, and then I just saw what you said.
This is on roadmap and not available yet. So you need to build separate UI for this. User will have to click publish in builder and then publish in your service.