File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change 1313
1414目前启动后的端口是固定的20242 (也就是2024年2月开始开发的意思)
1515
16- ## 环境配置
16+ ## Mac or Linux环境配置
1717
1818```bash
1919# install poetry (python package manager)
@@ -34,6 +34,33 @@ make dev
3434pip install construct==2.9.45
3535```
3636
37+ ## Windows环境配置
38+
39+ ```bash
40+ # install poetry (python package manager)
41+ pip install poetry # pipx install poetry
42+
43+ # install deps
44+ poetry install
45+
46+ # install make, choco ref: https://community.chocolatey.org/install
47+ # Set-ExecutionPolicy Bypass -Scope Process -Force;
48+ # [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
49+ # iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
50+ choco install make
51+
52+ # format import
53+ make format
54+
55+ # run server
56+ make dev
57+
58+ # If you encounter the error NameError: name 'int2byte' is not defined,
59+ # try installing a stable version of the construct package to resolve it:
60+ # and restart: make dev
61+ pip install construct==2.9.45
62+ ```
63+
3764运行测试
3865
3966```sh
You can’t perform that action at this time.
0 commit comments