Explainer Dashboard deployment to Posit Connect server

I am trying to deploy the explainer dashboard created using the Explainer Dashboard library Deployment — explainerdashboard 0.2 documentation

I created simple example (iris_dashboard.zip – unzip before using and pip install all requirements as listed in requirement.txt) for your team to deploy this on connect using the command:
rsconnect deploy api –server --api-key iris_dashboard --entrypoint app.py

The above command will publish the underlying app on posit server but will not render it.

You can try to run it on the Posit Workbench and it works perfectly. Here is the command to run it on workbench from command line.
flask run --host= --port=8501

Let me know if you can help with this. Thank you.

1 Like

Hi @Nitin_Agrawal

Did you manage to deploy Explainer Dashboard in the end?

I'm in the same position you were in 2 months ago - I have published the underlying app on posit connect but it will not render it.

Try deploying the app in Dash mode rather than as a Flask app.

See an example here:

and a running version of the app here.

1 Like