nb source

Quản lý dự án source code NocoBase cục bộ. Env npm/Git dùng thư mục source cục bộ; còn env Docker thường chỉ cần dùng nb app để quản lý runtime.

Cách dùng

nb source <command>

Lệnh con

LệnhMô tả
nb source downloadLấy NocoBase từ npm, Docker hoặc Git
nb source devKhởi động chế độ dev trong env source npm/Git
nb source buildBuild dự án source cục bộ
nb source testChạy test trong thư mục ứng dụng đã chọn

Ví dụ

nb source download --source npm --version alpha
nb source download --source docker --version alpha --docker-platform auto
nb source dev --env app1
nb source build @nocobase/acl
nb source test --server --coverage

Lệnh liên quan