목차

Waitress: Python WSGI 서버

Waitress는 Python WSGI 서버입니다.

Flask 애플리케이션을 프로덕션 환경에서 안정적으로 실행하기 위해 사용되며, Dream of E&C 프로젝트의 백엔드 서버 실행에 활용됩니다.

주요 특징

핵심 장점:

Flask와의 차이점:

Dream of E&C 프로젝트에서의 활용

주요 역할:

기본 사용법

# app.py
from waitress import serve
from your_flask_app import app

if __name__ == '__main__':
    serve(app, host='0.0.0.0', port=5000)

명령줄 실행

# 직접 실행
waitress-serve --host=0.0.0.0 --port=5000 app:app

# 백그라운드 실행
nohup waitress-serve --host=0.0.0.0 --port=5000 app:app &

관련 기술

추가 정보

공식 자료:

운영 팁:


Waitress는 Dream of E&C Flask 애플리케이션의 안정적인 프로덕션 실행을 담당합니다.