run-wenlan

Solid

Build, launch, and stop the wenlan daemon (wenlan-server) for local dev and verification. Use when asked to run or restart the daemon, or before driving any surface (HTTP, CLI, MCP) against a live instance.

AI & Automation 498 stars 8 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 91/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Run wenlan-server (dev) Build: `cargo build -p wenlan-server -p wenlan` (add `-p wenlan-mcp` for the MCP bridge). ## Ports — one allocation, no guessing Three ports exist and they are not interchangeable. Stopping "the isolated daemon" on the wrong one leaves a live daemon behind and reports success. | Port | Owner | Notes | |---|---|---| | 7878 | the user's real daemon | never kill casually, never verify against | | 17878 | manual isolated instance (this skill) | the recipes below | | 17881 | `scripts/smoke-cli.sh` | `PORT=` overrides | | 17882 | `scripts/smoke-mcp.sh` | `PORT=` overrides; runs alongside the CLI smoke | The smokes own their own ports so both can run at once. Do not repoint them at 17878 — a manual daemon and a smoke would then fight over one listener, and the smoke's ownership assertion would fail on a daemon it did not start. ## Isolated instance (default for verification) Never verify against the shared prod daemon on :7878 — dev and prod share the platform data dir by default. When `WENLAN_DATA_DIR` names any root other than the installed app's own, the default pages folder is `$WENLAN_DATA_DIR/pages`, and the daemon refuses to start if a `knowledge_path` points into the real `~/.wenlan/pages` (or a custom pages folder in the real config). Builds older than that fix used the real `~/.wenlan/pages` by default, so the recipe below still writes `knowledge_path` explicitly BEFORE the daemon starts. Then read the live value back from `/api/knowledge/p...

Details

Author
wenlan-app
Repository
wenlan-app/wenlan
Created
7 months ago
Last Updated
today
Language
Rust
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category