Deploy a Dash App from Local Machine to Dash Enterprise

Meet the Speaker

Austin Kiesewetter
Austin Kiesewetter is a Plotly community member and software engineer at Martin Engineering.
This tutorial walks through building a complete CI/CD workflow for a Dash app, starting on a local IDE and ending with a live deployment on Dash Enterprise. Austin shows you how to align project, GitHub repository and workspace names, then installs core dependencies with pip, highlighting gunicorn and dash-enterprise-libraries. After updating an older Dash app to work with the latest package versions, he covers creating key files: .gitignore, Procfile, requirements.txt and a deploy.yml GitHub Actions workflow. Correct use of server equals app.server and debug false keeps the code production ready.
Key tasks and tools
- Configure a GitHub repository, generate a personal access token and store secrets DE_HOST, DE_USERNAME, DE_PASSWORD and GH_ACCESS_TOKEN
- Create a dedicated Keycloak service account to run pipelines securely
- Define the GitHub Actions workflow that checks out code on Ubuntu, authenticates with Dash Enterprise and triggers plotly-de-deploy actions
- Push code, watch the GitHub Actions run, and troubleshoot build versus runtime logs inside Dash Enterprise
- Use the dash enterprise CLI to authenticate locally and publish changes directly from the terminal
By the end, you see the sample Leaflet map app build, deploy and open live, proving the pipeline works and can be reused for future updates.
Watch the video to follow along and set up your own pipeline.