The Tauri shell's bundled npm environment and its first-launch flag, the server installer's --data-dir default and the NSIS installer config fell back to ~/.waggle. Use ~/.waggle-community (ADR-0011). The Rust shell keeps the name in DEFAULT_DATA_DIR_NAME in lib.rs and the launcher, which uses only Node built-ins, in DATA_DIR_NAME. packages/shared/tests/data-dir.test.ts fails when either copy, or the marketplace's, differs from @waggle/shared.
36 lines
1.4 KiB
Markdown
36 lines
1.4 KiB
Markdown
# Waggle server installer
|
|
|
|
Installs and runs the Waggle server: the sidecar and web UI of the Waggle community edition,
|
|
without the desktop app. The server runs on its own bundled Node, so nothing is compiled on
|
|
your machine and no Python or Docker is needed.
|
|
|
|
```bash
|
|
npx @waggle-ai/waggle install
|
|
waggle-server
|
|
```
|
|
|
|
`waggle-server` starts the server at http://localhost:3333 and opens it in your browser.
|
|
|
|
| Command | What it does |
|
|
|---|---|
|
|
| `install` | Downloads the server for this system, checks its SHA-256 and installs it |
|
|
| `run` | Starts the server (the default command) |
|
|
| `doctor` | Checks the runtime, SQLite, the data directory, the port and the command |
|
|
| `update` | Installs this version over the installed one |
|
|
| `uninstall` | Removes the program; your data stays |
|
|
|
|
Options: `--from <path|url>` installs from a downloaded archive, `--port <n>` picks another
|
|
port, `--data-dir <path>` uses another data directory, `--no-open` keeps the browser closed.
|
|
Run `waggle-server --help` for the full list.
|
|
|
|
Supported systems: Windows x64, macOS (Apple silicon and Intel), Linux x64. You need Node.js
|
|
20 or newer only for the first `npx` call.
|
|
|
|
Your data lives in `~/.waggle-community` (or `WAGGLE_DATA_DIR`), apart from the commercial
|
|
Waggle's `~/.waggle`. `uninstall` does not touch it.
|
|
|
|
The package and command names are temporary until the product name is decided, and until
|
|
the release location is set, install from an archive with `--from`.
|
|
|
|
License: MIT.
|