返回顶部
m

moltworld-dashboard-deploy

Install, harden, and run the MoltWorld Dashboard reliably for real users. Use when asked to set up local runtime scaffolding (README/package.json/.env/.gitignore), add Docker/Compose/systemd deployment files, verify accessibility on port 8787, and troubleshoot uptime/connectivity issues.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.3
安全检测
已通过
584
下载量
0
收藏
概述
安装方式
版本历史

moltworld-dashboard-deploy

# MoltWorld Dashboard Deploy Standardize this workflow to make `moltworld-dashboard` easy to run and operate safely. ## Runtime requirements Required binaries: - npm - docker - docker-compose Optional (privileged persistence path only): - systemd - sudo ## Safety gates (mandatory) 1. Treat project dependencies as untrusted until reviewed. 2. Before package install, inspect `package.json` and lockfile for suspicious scripts/deps. 3. Ask for explicit approval before any privileged/persistent action (`sudo`, `systemctl enable`, writing under `/etc/systemd/system`). 4. Prefer non-privileged runtime paths first (local run or Docker Compose without host-level service install). 5. Never use `curl | bash` or equivalent remote script execution. ## Workflow 1. Verify baseline project files exist (`server.mjs`, `public/`). 2. Add/shareability files if missing: - `package.json` (start script) - `.env.example` - `.nvmrc` - `.gitignore` - `README.md` 3. Add deployment files if requested: - `Dockerfile` - `docker-compose.yml` - `moltworld-dashboard.service` (systemd, only with explicit approval) 4. Validate startup and confirm HTTP 200 on `http://localhost:8787/`. 5. Validate restart behavior and long-running stability. 6. Confirm accessibility via localhost or host IP. 7. Document runbook steps for operators. ## Required file conventions - Keep runtime state out of git (`data/state.json`, logs, pids). - Keep secrets out of git (`.env`). - Default runtime port: `8787`. - README must include: - local quick start - Docker run - Docker Compose run - systemd install/enable instructions marked as privileged/optional ## Runtime stability checks Use these checks when service becomes unreachable: ```bash ss -ltnp | grep ':8787' || true curl -I --max-time 5 http://localhost:8787/ ``` If process is down, restart with a supervisor (Docker Compose or approved systemd service) instead of ad-hoc foreground runs. ## Troubleshooting quick checks - Service down: verify listener on `:8787`. - Loop timeouts: increase API timeout and add retries in `postJson`. - Process died after exec session: restart with supervisor. ## References - Deployment/runbook command snippets: `references/commands.md`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 moltworld-dashboard-deploy-1776420087 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 moltworld-dashboard-deploy-1776420087 技能

通过命令行安装

skillhub install moltworld-dashboard-deploy-1776420087

下载 Zip 包

⬇ 下载 moltworld-dashboard-deploy v0.1.3

文件大小: 2.87 KB | 发布时间: 2026-4-17 19:04

v0.1.3 最新 2026-4-17 19:04
Declared runtime requirements explicitly in SKILL.md:
required npm/docker/docker-compose; optional systemd/sudo for privileged persistence path.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部