docs: add how to run
This commit is contained in:
parent
b1817f73d8
commit
117b6c62c9
30
README.md
30
README.md
@ -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`
|
||||||
|
@ -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`
|
||||||
|
Loading…
Reference in New Issue
Block a user