Join the Webstudio community

Updated 2 weeks ago

Self hosting builder Help

I'm not the most experienced, I managed to get it to work up until the last point, when I run pnpm dev as it says on the page, I get this error. I did manage to "fix" it by running echo "127.0.0.1 wstd.dev" | sudo tee -a /etc/hosts as suggested by AI, this allowed it to progress and show me the local & network links, but they didn't actually work, and localhost:5173 lead to a filesystem for the project.

I did follow all update prompts in the terminal.

I'm running
Operating System: Windows 11 (WSL Debian)
Docker version: 4.40.0
Dev containers version: 0.413.0
M
V
8 comments
gotta migrate the db hold up
#Self hosting Builder (Locally) Help
Plain Text
git clone https://github.com/webstudio-is/webstudio.git

// Edit "webstudio/apps/builder/.env" with this value AUTH_SECRET=password for a login password

cd webstudio

pnpm install

cd .devcontainers/

// Check if port is being used "sudo lsof -i :5432" and kill the postgres database before creating docker compose "sudo kill <PID>"
// You can do PGPORT=5433 after you have created a volume with port 5432 by default\

docker compose up -d

cd ..

pnpm migrations migrate

pnpm dev
Since posting this, I've updated docker to the newest version 4.41.2, and after running the

git clone https://github.com/webstudio-is/webstudio.git

I pasted AUTH_SECRET=password into the file, and re-opened the file into a dev container after cd webstudio didn't run. It failed to build though, giving me this:
Attachment
image.png
Dunno how to help you here as I didn't have such an issue
just try wiping out any containers, volumes and etc... and launch again the devcontainers
the AUTH password part is only for when you actually get it up and running otherwise shouldn't affect the container
ty though, I'll try out what you sent earlier if I'm able to fix this
Add a reply
Sign up and join the conversation on Discord