7b17cac772
Created by Github action <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/22273?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> Co-authored-by: github-actions <github-actions@twenty.com>
33 lines
1.6 KiB
Plaintext
33 lines
1.6 KiB
Plaintext
---
|
|
title: 概览
|
|
description: 构建、测试并发布你的应用——CLI 命令、集成测试、CI,以及发布到服务器或 npm。
|
|
icon: rocket
|
|
---
|
|
|
|
**运维层**指的是你对应用*进行*而不是*使用*它所做的一切:调用 CLI 命令、针对真实的 Twenty 服务器运行集成测试、配置 CI,以及发布发行版——可以是部署到单个服务器的 tarball,也可以是发布到应用市场中列出的 npm 包。
|
|
|
|
```text
|
|
develop ─▶ test ─▶ build ─▶ deploy / publish
|
|
─────── ──── ───── ─────────────────
|
|
yarn yarn yarn yarn twenty app:publish --private (tarball → one server)
|
|
twenty test twenty
|
|
dev dev:build yarn twenty app:publish (npm → marketplace)
|
|
```
|
|
|
|
## 本节内容
|
|
|
|
<CardGroup cols={2}>
|
|
<Card title="CLI" icon="terminal" href="/l/zh/developers/extend/apps/operations/cli">
|
|
`yarn twenty` 参考——exec、logs、uninstall、remotes。
|
|
</Card>
|
|
<Card title="同步与恢复" icon="compass" href="/l/zh/developers/extend/apps/operations/sync-and-recovery">
|
|
在阅读同步差异时应使用哪些命令,以及分步恢复流程。
|
|
</Card>
|
|
<Card title="测试" icon="flask" href="/l/zh/developers/extend/apps/operations/testing">
|
|
Vitest 配置、集成测试、类型检查、CI 工作流。
|
|
</Card>
|
|
<Card title="发布" icon="upload" href="/l/zh/developers/extend/apps/operations/publishing">
|
|
构建、部署 tarball、发布到 npm、安装。
|
|
</Card>
|
|
</CardGroup>
|