[Dash + Flask] How to Deploy a Python Dash App on Pythonanywhere.com

Here’s the step-by-step approach of how to deploy your Dash app on Pythonanywhere.com using Flask and pip:

  • Create an account on Pythonanywhere.com.
  • Create a Flask application.
  • Create a Dash application.
  • Copy the Dash app into the Flask app.
  • Connect the Flask server with the Dash app.
  • Modify the WSGI configuration file.
  • Install Dash with pip in your bash shell (pip3.7 install dash --user)
  • Refresh your Flask server.

See the video for more details.