From 2e8d37b416f29f0d9fa11ce6fa46876dcb33cdad Mon Sep 17 00:00:00 2001 From: satori Date: Sat, 7 Dec 2024 07:07:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index f9e3d6b..e41d007 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,22 @@ # hangban +```bash +# 下载到本地 +git clone git@git.satori.love:satori/hangban.git +cd hangban + +# 安装依赖包 +npm i + +# 开发环境运行 +npm run dev + +# 编译为生产文件 +npm run build + +# 生产环境运行 +npm run start + +# 使用守护进程运行 +pm2 start npm -- run start +```