Skip to content
← All solutions
Django logo

Frameworks solution

Run Django Locally with FlyEnv

Django projects often pair Python with a database and, depending on the application, services such as Redis and a reverse proxy. FlyEnv keeps those local services manageable around the Django project.

Local project stack

Services FlyEnv can manage around Django

  • Python
  • PostgreSQL / MySQL
  • Redis
  • Nginx / Apache / Caddy
  • Node.js

About Django

Django is a high-level Python web framework for database-driven web applications.

Project resources

For installation commands, supported versions, and project-specific configuration, refer to the official Django documentation.

Typical local stack

The exact services depend on the project, its release, and its local configuration. This is a common local setup, not a fixed requirement.

  • Python
  • PostgreSQL / MySQL
  • Redis
  • Nginx / Apache / Caddy
  • Node.js
ComponentTypical role
PythonRuns the Django project.
PostgreSQL / MySQLStores application data when configured.
RedisMay support caching, channels, or background work.
Nginx / Apache / CaddyMay serve a local domain.
Node.jsMay build project frontend assets.

How FlyEnv helps

  • Select Python per project

    Keep projects that target different Python versions separate.

  • Run the chosen database

    Use PostgreSQL or MySQL when the Django settings require it.

  • Keep Redis optional

    Start Redis only for projects that use its cache or async features.

  • Configure a local address

    Use a web server, local domain, and HTTPS when the workflow needs them.

Set up the local environment

Project installation stays with the upstream documentation. FlyEnv manages the runtimes, databases, web servers, and supporting services around it.

  1. 1Install and configure the Django project according to the official Django documentation.
  2. 2Choose the Python runtime expected by the project.
  3. 3Start the database configured in the project settings.
  4. 4Start Redis only when the project uses it.
  5. 5Configure a local web server, domain, and HTTPS when appropriate.
  6. 6Use a Startup Group to keep the project services together when useful.

Ready to run Django locally?

Use FlyEnv to manage the runtimes, databases, web servers, and services around your local Django environment.

Download FlyEnv

Have questions using FlyEnv?