fastapi-local-dev

fastapi-local-dev

FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)

9星標
2分支
更新於 1/29/2026
SKILL.md
readonlyread-only
name
fastapi-local-dev
description

FastAPI dev/prod runbook (Uvicorn reload, Gunicorn)

version
1.1.0

FastAPI Local Dev

  • Dev: uvicorn app.main:app --reload
  • Imports: run from repo root; use python -m uvicorn ... or PYTHONPATH=.
  • WSL: WATCHFILES_FORCE_POLLING=true if reload misses changes
  • Prod: gunicorn app.main:app -k uvicorn.workers.UvicornWorker -w <n> --bind :8000

Anti-patterns:

  • --reload --workers > 1
  • PM2 watch: true for Python

References: references/.

You Might Also Like

Related Skills

verify

verify

243K

Use when you want to validate changes before committing, or when you need to check all React contribution requirements.

facebook avatarfacebook
獲取
test

test

243K

Use when you need to run tests for React core. Supports source, www, stable, and experimental channels.

facebook avatarfacebook
獲取

Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.

facebook avatarfacebook
獲取

Use when adding new error messages to React, or seeing "unknown error code" warnings.

facebook avatarfacebook
獲取
flow

flow

243K

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

facebook avatarfacebook
獲取
flags

flags

243K

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

facebook avatarfacebook
獲取