14 lines
166 B
Markdown
14 lines
166 B
Markdown
|
启动前自行准备config.toml文件
|
||
|
|
||
|
开发使用这个启动
|
||
|
|
||
|
```shell
|
||
|
python server.py
|
||
|
```
|
||
|
|
||
|
生产环境
|
||
|
|
||
|
```shell
|
||
|
sanic server:app --host=0.0.0.0 --port=80
|
||
|
```
|