nocobase-deployment
하는 일
이 스킬은 NocoBase 3 애플리케이션을 실서버로 옮기고 정상 작동을 확인하는 단계를 안내합니다. 운영 환경에서 NocoBase 앱을 실행하거나 업데이트하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓NocoBase 3 애플리케이션을 서버에 배포하고 싶을 때.
- ✓NocoBase 배포가 실패해 원인을 진단해야 할 때.
- ✓실행 중인 NocoBase 앱을 업데이트하거나 되돌려야 할 때.
스킬 링크
https://github.com/nocobase/nocobase/blob/v3-develop/packages/app/app-skills/skills/nocobase-deployment/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 NocoBase 앱을 Docker 서버에 배포하고, 데이터베이스와 파일이 여전히 작동하는지 확인해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 먼저 배포 모드, 버전, 데이터 위치를 기록합니다. 그다음 앱을 빌드하고 배포하며, 완료로 판단하기 전에 데이터베이스, 설정, 동작, 파일 저장소를 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
NocoBase production deployment
Use this Skill to execute a complete deployment workflow. Read the application's AGENTS.md, the .agents/rules/ files it indexes for building and deployment, and README.MD before changing files or running stateful commands: the README documents this application's build targets, archive layout and configuration variables.
Do not treat a process being healthy as proof that the application is usable. A deployment is complete only after the database, configuration, application behavior, and persistence checks below have evidence.
Stop and identify the deployment
Before building or changing a server, record:
- The deployment mode: an App managed by an existing Studio, standalone Node.js managed by app-installer, standalone Node.js by hand, or standalone Docker.
- The source revision, application version, Node.js and pnpm versions, target CPU/OS/libc, and the destination host.
- Whether the destination uses the existing database and storage, a new database, or a restore. Business data is not included in
dist,dist.tar.gz, or a Docker image. - The application base path, public origin, database type, external services, reverse proxy, persistent directories, and service identity.
- Whether the requested action is a first install, an update, a migration, a restart, a rollback, or a recovery.
Do not run production writes, migrations, seeds, uploads, deployments, or destructive removal until the target and the user's authorization are explicit. If the target or data plan is unresolved, stop and ask for it.
Deploy to an existing Studio
When the user asks to deploy this application to an existing NocoBase Studio, read Deploy to Studio before building. It covers installing and signing in with the target Studio's nb-studio CLI, choosing an upload route, deploying and verifying the application. The application being deployed does not need its own business CLI.
Confirm the source application, target Studio, App ID and environment. A source directory, deployment directory and App ID can have different names; do not infer application identity from one of them. Follow the reference for Studio-managed configuration, storage and deployment; use the shared artifact and verification guidance below where applicable, not the standalone installation commands.
Deploying Studio itself to a server follows the standalone deployment workflow below.
Prepare the source and artifact
In the application project root, use the project's lockfile and declared pnpm version:
pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
pnpm lint
Run the checks that the project actually defines; do not invent a test or lint command when it is absent. Build for the destination platform:
pnpm build --target linux-x64 --node-version 24 --tar
pnpm build creates the production dist tree and installs or retargets production dependencies for the selected platform. The build is not tied to a mount path: the client uses relative asset URLs by default, or an absolute CDN prefix when configured below, and the server serves it at the APP_BASE_PATH it runs with, so one archive can be mounted at /crm or at the origin root. --tar additionally creates storage/exports/dist.tar.gz, containing dist/ and config.example.yml, and the application's Dockerfile and Dockerfile.dockerignore when it has them; it does not contain the runtime configuration, database, uploads, or other business data. Extracting it produces exactly those paths rather than scattering server/ and node_modules/ into the directory you unpacked in. config.example.yml travels with it because a deployment has to write a config.yml before it can start, and the example is the only statement of what may go in it. Directories of executable shims are left out: a .bin entry points at a path on the machine that installed it, and a dangling one makes pnpm install in the extracted tree report a corrupt store rather than repair it. Without --tar no archive is produced, which is what you want when the build is only going to be run locally. Inspect the archive before transfer:
tar -tzf storage/exports/dist.tar.gz | head -30
For a direct server deployment, transfer the archive and extract it into the deployment root. Nothing needs installing there: pnpm build already ran pnpm install --prod inside dist/, and the archive carries the resulting `dist/node_mod
자주 묻는 질문
빌드에 업무 데이터가 포함되나요?
아니요. 업무 데이터는 빌드 파일이나 Docker 이미지에 들어가지 않으므로 따로 처리해야 합니다.
어떤 호스팅 설정을 다루나요?
Studio가 관리하는 앱, 독립형 Node.js 서버, 독립형 Docker 서버입니다.
운영 환경을 바로 바꾸나요?
스킬은 먼저 세부 사항을 기록하고, 운영 환경의 쓰기 작업과 마이그레이션에 주의하라고 말합니다.
상세 정보
작성자의 원본 설명
Plan, build, deploy, verify, upgrade, and troubleshoot NocoBase 3 applications on an existing Studio or a standalone Node.js or Docker server. Use when an application must move from source to a deployment environment or when a deployment failure needs diagnosis.
repo: nocobase/nocobase
인기도
- GitHub 스타
- 25k
- 순위
- #10082
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
nocobase-app-development
25k에이전트가 완전한 NocoBase 3 업무 애플리케이션을 위해 페이지, 라우트, 데이터, 권한, 테스트를 만들도록 돕습니다.
shadcn
25k에이전트가 웹 프로젝트에서 공식 문서와 레지스트리를 사용해 shadcn/ui 컴포넌트를 찾고, 추가하고, 고치고, 스타일을 입히도록 돕습니다.
nocobase-app-plugin-development
25k에이전트가 기존 NocoBase 3 앱 안에서 서버, 클라이언트, 데이터베이스, 등록 부분을 포함한 플러그인을 만들고 관리하도록 돕습니다.
nocobase-app-upgrade
25k에이전트가 NocoBase 앱을 더 새로운 템플릿 릴리스로 업그레이드하고, 사용자의 작업을 지키면서 템플릿 변경을 가져오도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.