You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m currently setting up the Affine development environment using the official devcontainer (inside Docker, in VS Code). I’ve successfully managed to run the different packages—server, web, etc.—and I see the frontend on localhost.
However, I’m facing a few issues while trying to contribute:
The frontend only shows the default workspace and offers only the cloud option. I can’t add or connect to my self-hosted local server (localhost:3010 also hosted in vscode), even though it must be used internally, since the web package refuses to start without the server running.
My main concern is:
How is the frontend supposed to connect to the local server in a dev setup, and how can I enable persistent workspaces or skip the cloud-only behavior?
Bonus question:
Is hot-reloading supported for the web package when running inside the devcontainer?
This is duplicate of the discord thread but no one is answering there
Would really appreciate guidance or clarification.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m currently setting up the Affine development environment using the official devcontainer (inside Docker, in VS Code). I’ve successfully managed to run the different packages—server, web, etc.—and I see the frontend on localhost.
However, I’m facing a few issues while trying to contribute:
The frontend only shows the default workspace and offers only the cloud option. I can’t add or connect to my self-hosted local server (localhost:3010 also hosted in vscode), even though it must be used internally, since the web package refuses to start without the server running.

My main concern is:
How is the frontend supposed to connect to the local server in a dev setup, and how can I enable persistent workspaces or skip the cloud-only behavior?
Bonus question:
Is hot-reloading supported for the web package when running inside the devcontainer?
This is duplicate of the discord thread but no one is answering there
Would really appreciate guidance or clarification.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions