From 98a0e6686ac616b1114529dc41fc7086cae82ddb Mon Sep 17 00:00:00 2001 From: jmal Date: Tue, 11 Apr 2023 21:27:57 +0800 Subject: [PATCH] docs: update readme --- README.md | 16 ++++++++++++++++ README_en_US.md | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/README.md b/README.md index b369e61..86a21a4 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,22 @@ cd jmal-cloud-server ``` [其它方式部署](https://jmal.cc/b75gm) +### dev +#### 环境准备: +- jdk17+ +- mongodb4.4+ +- node v16.x.x + +##### 1、克隆服务端项目 +`git clone https://github.com/jamebal/jmal-cloud-server.git` +##### 2、修改配置文件 `src/main/resources/file.yml` +修改参数`rootDir` 和 `ip2region-db-path` 改为自己的目录, 即可启动服务 +##### 3、克隆web端项目 +`git clone https://github.com/jamebal/jmal-cloud-view.git` +##### 4、项目目录下执行`npm install` +##### 5、启动web端`npm run dev` + + ### 部分截图: ![image0](https://www.jmal.top/api/file/jmal/jmalcloud/releases/%E6%88%AA%E5%B1%8F%20192.png) ![image1](./doc/%E6%88%AA%E5%B1%8F%2028.png) diff --git a/README_en_US.md b/README_en_US.md index 4434a3f..46b3d15 100644 --- a/README_en_US.md +++ b/README_en_US.md @@ -35,6 +35,23 @@ cd jmal-cloud-server ``` [Other ways deployment](https://jmal.cc/b75gm) +### Dev +#### Environment Requirements: +- jdk17+ +- mongodb4.4+ +- node v16.x.x +##### 1. Clone the server-side project +`git clone https://github.com/jamebal/jmal-cloud-server.git` + +##### 2. Modify the configuration file `src/main/resources/file.yml` + Change the parameters `rootDir` and `ip2region-db-path` to your own directory and start the service + +##### 3. Clone the web-side project +`git clone https://github.com/jamebal/jmal-cloud-view.git` + +##### 4. Run `npm install` in the project directory +##### 5. Start the web-side with `npm run dev` + ### Some screenshots: ![image0](https://www.jmal.top/api/file/jmal/jmalcloud/releases/%E6%88%AA%E5%B1%8F%20192.png) ![image1](./doc/%E6%88%AA%E5%B1%8F%2028.png)