This repository contains a simple Dash app that can be deployed as-is on your Dash Deployment Server server. This application is configured to deploy on Dash Deployment Server versions 3.0.0
and above. If you are deploying apps on an older DDS server you can clone this repository and then checkout the dopsa-2.5
branch with:
git clone [email protected]:plotly/dash-on-premise-sample-app.git
cd dash-on-premise-sample-app
git checkout dopsa-2.5
To learn more about what each of these files does and how to start from scratch, see the Dash App Deployment Docs.
In order to trigger a Conda-based python deployment in Dash Enterprise, the following files should be available:
conda-requirements.txt
: A listing of packages to be installed via condaconda-runtime.txt
: A valid miniconda runtime package name.- A list of valid runtimes can be fetched from the miniconda repo and comes in the form of
Miniconda$VERSION
, where $VERSION is a valid Miniconda version. By way of example, bothMiniconda3-4.5.12
andMiniconda-4.5.12
are valid contents for theconda-runtime.txt
file.
- A list of valid runtimes can be fetched from the miniconda repo and comes in the form of
The following files will be optionally used during the deployment process:
.condarc
: This file will be copied into place and used by Conda as a.condarc
file. For example, alternative conda channels can be specified by setting the following as the file's contents:channels: - https://anaconda-repo.example.com/conda/
requirements.txt
: This file will be used to install dependencies viapip
after conda-based dependencies have been installed.bin/pre_compile
: An executable script that will be run before Conda is installed and executedbin/post_compile
: An executable script that will be run after Conda is installed and executed
Check out the following documentation for information on privacy and authentication settings
available for Dash applications deployed on your Dash Deployment server. Note: the dash-auth
package is
no longer necessary with DDS 3.0.0+ and users may notice a double login if deploying apps with
dash-auth < 1.3.0
on DDS 3.0.0 and above.