/pmoe

开箱即用的 flask + Gunicorn + Nginx + Docker Web Application 开发、部署方案。

Primary LanguagePythonMIT LicenseMIT

Code style: black Ruff Checked with pyright

开箱即用的 flask + Gunicorn + Nginx + Docker Web Application 开发、部署方案。满足 12 factor 指导原则和 CI/CD 开发流程。

Port

  • web: 5000
  • mysql: 3306
  • redis: 6379
  • meilisearch: 7700
  • celery_flower: 5555
  • nginx: 8000

Checklists

  • pyproject.toml
    • dependencies version
    • [tool.black] required-version
    • [tool.ruff] required-version

运行

# 本地运行文档
pdm doc
# or pdm run doc or pdm run mkdocs serve