docs: add how to run
我谢谢你啊 好好好,用bash
This commit is contained in:
parent
40b9068eae
commit
ae61d5dc18
30
README.md
30
README.md
@ -47,6 +47,36 @@
|
||||
|
||||
## [更新日志](docs/src/change_log/readme.md)
|
||||
|
||||
## 运行方式
|
||||
|
||||
### clone
|
||||
|
||||
```bash title="clone.sh"
|
||||
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
|
||||
```
|
||||
|
||||
### 安装依赖
|
||||
|
||||
```bash title="install.sh"
|
||||
python -m pip install -r requirements.txt
|
||||
git submodule update --init --recursive
|
||||
cd libs
|
||||
cd lib_not_dr
|
||||
python -m pip install .
|
||||
```
|
||||
|
||||
### 运行
|
||||
|
||||
```bash title="run.sh"
|
||||
python DR.py
|
||||
```
|
||||
|
||||
## 环境需求 (测试过的 / 开发平台)
|
||||
|
||||
- `开发平台 1 - Windows 10 x64 22H2`
|
||||
|
@ -45,6 +45,39 @@
|
||||
|
||||
## [Update logs](src/change_log/readme.md)
|
||||
|
||||
## How To Run
|
||||
|
||||
### clone
|
||||
|
||||
### clone
|
||||
|
||||
```bash title="clone.sh"
|
||||
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
|
||||
|
||||
```bash title="install.sh"
|
||||
python -m pip install -r requirements.txt
|
||||
git submodule update --init --recursive
|
||||
cd libs
|
||||
cd lib_not_dr
|
||||
python -m pip install .
|
||||
```
|
||||
|
||||
### Run
|
||||
|
||||
```bash title="run.sh"
|
||||
python DR.py
|
||||
```
|
||||
|
||||
|
||||
## Environment (been tested / developed on)
|
||||
|
||||
- `Develop platform 1 - Windows 10 x64 22H2`
|
||||
|
Loading…
Reference in New Issue
Block a user