摘要: 前景:已经使用supervisor把FastAPI开发的后端服务挂载到端口上 Nginx的配置如下: upstream huiyuan_api { server 127.0.0.1:9120; } server { server_name hui.waketzheng.top; client_max 阅读全文
posted @ 2022-11-23 17:33 waketzheng 阅读(1272) 评论(0) 推荐(0)
摘要: 用惯了Django的manage.py所以在FastAPI的项目里,也写了一个类似的脚本: 1 #!/usr/bin/env python 2 import subprocess 3 import sys 4 from pathlib import Path 5 6 import typer 7 8 阅读全文
posted @ 2022-11-22 23:00 waketzheng 阅读(113) 评论(0) 推荐(0)