Loading [Contrib]/a11y/accessibility-menu.js
Skip to content

wsgi

plantdb.server.cli.wsgi Link

WSGI Application Entry Point

This module serves as the Web Server Gateway Interface (WSGI) entry point for the application, allowing web servers like Gunicorn, uWSGI, or Apache with mod_wsgi to interact with the application.

Key Features:
  • Provides the application instance for WSGI-compatible web servers
  • Serves as the deployment entry point in production environments
  • Separates server configuration from application logic
  • Enables standard deployment practices for Python web applications
Usage Examples:

When deploying with Gunicorn:

gunicorn wsgi:app

When deploying with uWSGI:

uwsgi --http :5000 --module plantdb.server.cli.wsgi:application --callable application --master
Should then be accessible under: http://localhost:5000/plantdb/scans