diff --git a/README.md b/README.md index e95df64..4102ef9 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,36 @@ ## [更新日志](docs/src/change_log/readme.md) +## 运行方式 + +### clone + +```powershell title="clone.ps1 +mkdir DR +cd DR +git clone https://github.com/shenjackyuanjie/Difficult-Rocket.git +# 或者 +git clone https://gitee.com/shenjackyuanjie/Difficult-Rocket.git +# 又或者 +git clone git@github.com:shenjackyuanjie/Difficult-Rocket.git +``` + +### 安装依赖 + +```powershell title="install.ps1 +python -m pip install -r requirements.txt +git submodule update --init --recursive +cd libs +cd lib_not_dr +python -m pip install . +``` + +### 运行 + +```powershell title="run.ps1 +python DR.py +``` + ## 环境需求 (测试过的 / 开发平台) - `开发平台 1 - Windows 10 x64 22H2` diff --git a/docs/README-en.md b/docs/README-en.md index 301b5b8..27d085c 100644 --- a/docs/README-en.md +++ b/docs/README-en.md @@ -45,6 +45,39 @@ ## [Update logs](src/change_log/readme.md) +## How To Run + +### clone + +### clone + +```powershell title="clone.ps1 +mkdir DR +cd DR +git clone https://github.com/shenjackyuanjie/Difficult-Rocket.git +# or +git clone https://gitee.com/shenjackyuanjie/Difficult-Rocket.git +# or +git clone git@github.com:shenjackyuanjie/Difficult-Rocket.git +``` + +### Install requirements + +```powershell title="install.ps1 +python -m pip install -r requirements.txt +git submodule update --init --recursive +cd libs +cd lib_not_dr +python -m pip install . +``` + +### Run + +```powershell title="run.ps1 +python DR.py +``` + + ## Environment (been tested / developed on) - `Develop platform 1 - Windows 10 x64 22H2`