convex-ship

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
<!-- GENERATED from convex-agents content/capabilities/ship.json — do not edit by hand. -->
<!-- 由convex-agents的content/capabilities/ship.json生成 — 请勿手动编辑。 -->

Ship the app live

将应用发布上线

Take the current project from local to a live, shareable URL: deploy the Convex backend to the cloud (claiming the anonymous deployment if needed), build the web app, and publish it to *.convex.app.
将当前项目从本地环境部署到可访问的共享URL:将Convex后端部署到云端(如有需要,认领匿名部署),构建Web应用,并发布到*.convex.app。

Workflow

工作流程

  1. If on an anonymous deployment, claim/persist it to the cloud (Tier-2 sign-in).
  2. convex deploy
    the backend.
  3. Build the web app (static export) and upload via the moderated publish gateway → returns the *.convex.app URL.
  4. Give the user the live URL; offer a custom domain (own one →
    domains
    ; find/buy →
    labs-acquire-domain
    ).
  1. 如果处于匿名部署状态,将其认领/持久化到云端(二级登录)。
  2. 执行
    convex deploy
    命令部署后端。
  3. 构建Web应用(静态导出)并通过审核发布网关上传 → 返回*.convex.app URL。
  4. 向用户提供在线URL;提供自定义域名选项(已有域名 → 使用
    domains
    功能;查找/购买 → 使用
    labs-acquire-domain
    功能)。

Rules

规则

  • Publishing is a privileged action — it runs through the control plane after the moderation gate; the agent never holds the deploy key.
  • Confirm before publishing (it produces a public URL).
  • Offer a custom domain after a successful publish:
    domains
    if the user owns one,
    labs-acquire-domain
    to find/buy.
  • 发布是特权操作 — 需通过审核网关后由控制平面执行;Agent绝不会持有部署密钥。
  • 发布前需确认(会生成公开URL)。
  • 发布成功后提供自定义域名选项:用户已有域名则使用
    domains
    ,查找/购买则使用
    labs-acquire-domain