ym1198
ym1198•2y ago

`add workspace` without --create flag - What is this exactly

I have an existing workspace in docker-self-hosted windmill application. On cli, I ran wmill add <workspace-name> <workspace-id> <remote-url> I could not find my workspace-name, so randomly added any text workspace-id was correct remote-url I kept https://abc.example.com , supose I am hosting windmill at https://abc.example.com (could not find link to workspace directly) . In this url, I can see my other workspace and when I select one, i gets switched to it but in url no special workspace name is appended like https://abc.example.com/workspace-id . It remains https://abc.example.com only this command ran successfully Then i ran wmill workspaces, I saw a table in terminal mentioning the workspace name But when I ran ls , current directory is still empty, I was expecting some folder to be created of that added workspace Please help. Thanks in advance!
6 Replies
ym1198
ym1198OP•2y ago
I think I got the answer. add adds the workspace to some internal cli list of workspaces You have to do pull to actually pull its content into current directory.
rubenf
rubenf•2y ago
You were too fast
rubenf
rubenf•2y ago
Sync | Windmill
Synchronizing folders & git repositories to a Windmill instance is made easy
ym1198
ym1198OP•2y ago
Document could have been a bit clearer, that add will not get the content locally , push will also documentation for add should come first, then sync push/pull @rubenf
rubenf
rubenf•2y ago
Thanks for the feedback. We accept contributions: https://github.com/windmill-labs/windmilldocs 🙂
GitHub
GitHub - windmill-labs/windmilldocs
Contribute to windmill-labs/windmilldocs development by creating an account on GitHub.
ym1198
ym1198OP•2y ago
@rubenf sure will try can you check the post above this one please.

Did you find this page helpful?