From dd66ec8e208afc6a5ce674cc9f7d3bd687948cc3 Mon Sep 17 00:00:00 2001 From: AnsonCar Date: Sat, 23 Nov 2024 20:20:33 +0800 Subject: [PATCH] docs: update readme Install and use --- README.md | 7 +++++++ README.zh-CN.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 6ccc6f7..f9c6543 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,13 @@ pnpm build ``` +You can deploy **nova-admin** in a production environment using docker-compose. +```bash +# Build product +docker compose -f docker-compose.product.yml up --build -d +``` +> The nginx.conf provided is for reference only. You can adjust it according to your own needs. + ## Related projects - [Nova-admin-nest](https://github.com/chansee97/nove-admin-nest) (under development) Nova-Admin supporting background project based on TS, NestJs, typeorm diff --git a/README.zh-CN.md b/README.zh-CN.md index d758eba..6a47edd 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -71,6 +71,13 @@ pnpm build ``` +在生產環境也可以使用 docker-compose 部署 **nova-admin** +```bash +# Build product +docker compose -f docker-compose.product.yml up --build -d +``` +> 關於 nginx.conf 只供參考,你可以根據自己的需求進行調整。 + ## 相关项目 - [Nova-admin-nest](https://github.com/chansee97/nove-admin-nest) (开发中)基于TS, NestJs, typeorm的Nova-Admin配套后台项目