随笔分类 - 后端-Python
摘要:前景:已经使用supervisor把FastAPI开发的后端服务挂载到端口上 Nginx的配置如下: upstream huiyuan_api { server 127.0.0.1:9120; } server { server_name hui.waketzheng.top; client_max
阅读全文
摘要:用惯了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
阅读全文