simplecloud 0.0.1-beta.45 → 0.0.1-beta.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +30 -0
  2. package/dist/cli.js +304 -286
  3. package/dist/index.js +320 -302
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -106,6 +106,36 @@ node dist/cli.js --help
106
106
  node dist/cli.js start group mygroup
107
107
  ```
108
108
 
109
+ ## Multi-Root Sync (Syncthing)
110
+
111
+ Use `sc sync` as the primary command (`sc syncthing` is an alias).
112
+
113
+ Primary serverhost:
114
+
115
+ ```bash
116
+ sc sync init
117
+ ```
118
+
119
+ New serverhost:
120
+
121
+ ```bash
122
+ sc sync join --primary-device-id <id> --primary-name <name> --templates-id <id> --workflows-id <id> --options-id <id>
123
+ ```
124
+
125
+ Back on primary:
126
+
127
+ ```bash
128
+ sc sync approve --device-id <new-device-id> --name <new-device-name>
129
+ ```
130
+
131
+ Check status on any host:
132
+
133
+ ```bash
134
+ sc sync status
135
+ ```
136
+
137
+ Important: never synchronize `secrets/`, `running/`, or `logs/`.
138
+
109
139
  ## Generating API
110
140
 
111
141
  ```bash