Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jokester committed Mar 3, 2024
1 parent 49f60ec commit 40a45ba
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CONTRIBUTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# CONTRIBUTION

## Structure


## HOWTOs

### init venv for development

```
$ python3.10 -mvenv venv
$ venv/bin/pip install -r requirements.txt
```

### lint + format code

```
$ venv/bin/ruff .
```


2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## 安装步骤

1. 安装 Python 3.8.13 版本以上,3.10 版本以下,推荐 `3.9.2`
1. 安装 Python 3.10 版本
2. 依赖环境 MangoDB、Erlang、RabbitMQ
3. `pip install -r requirements.txt` (这一步如果 Windows 有报错,请在环境变量里面加 `PYTHONUTF8=1`
4.`/config.py` 为模板创建 `/configs/dev.py` 用于开发(此目录已被 git ignore)
Expand Down

0 comments on commit 40a45ba

Please sign in to comment.