docs: add how to run

This commit is contained in:
shenjack 2023-11-19 00:13:36 +08:00
parent b1817f73d8
commit 117b6c62c9
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 63 additions and 0 deletions

View File

@ -47,6 +47,36 @@
## [更新日志](docs/src/change_log/readme.md) ## [更新日志](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` - `开发平台 1 - Windows 10 x64 22H2`

View File

@ -45,6 +45,39 @@
## [Update logs](src/change_log/readme.md) ## [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) ## Environment (been tested / developed on)
- `Develop platform 1 - Windows 10 x64 22H2` - `Develop platform 1 - Windows 10 x64 22H2`