By default, Dash apps run on
localhost - you can only access them on your
own machine. To share a Dash app, you need to “deploy” it to a server.
Our recommend method for securely deploying Dash applications is
If your company has licensed Dash Enterprise, then view the deployment
documentation by visiting
<your-dash-enterprise-platform>with the hostname of your
licensed Dash Enterprise in your VPC).
In addition to easy, git-based deployment, the Dash Enterprise platform provides a complete Analytical App Stack.
- LDAP & SAML Authentication Middleware
- Data Science Workspaces
- High Availability & Horizontal Scaling
- Job Queue Support
- Enterprise-Wide Dash App Portal
- Design Kit
- Reporting, Alerting, Saved Views, and PDF Reports
- Dashboard Toolkit
- Embedding Dash apps in Existing websites or Salesforce
- AI App Catalog
- Big Data Best Practices
- GPU support
Heroku is one of the easiest platforms for deploying and managing public Flask
applications. The git & buildpack-based deployment of UIs of Heroku and Dash Enterprise
are nearly identical, enabling an easy transition to Dash Enterprise if you
are already using Heroku.
Here is a simple example. This example requires a Heroku account,
Step 1. Create a new folder for your project:
Step 2. Initialize the folder with
git and a
virtualenv creates a fresh Python instance. You will need to reinstall your
app’s dependencies with this virtualenv:
You will also need a new dependency,
gunicorn, for deploying the app:
Step 3. Initialize the folder with a sample app (
requirements.txt, and a
Procfile for deployment
Create the following files in your project folder:
app refers to the filename
server refers to the variable
server inside that file).
requirements.txt describes your Python dependencies.
You can fill this file in automatically with:
4. Initialize Heroku, add files to Git, and deploy
You should be able to view your app at
my-dash-app to the name of your app).
5. Update the code and redeploy
When you modify
app.py with your own code, you will need to add the changes
to git and push those changes to heroku.