Black Lives Matter. Please consider donating to Black Girls Code today.

How do I deploy the Dash project on the webserver?

I have a dash project which can run successfully and dynamiclly on the webpage with runserver? But it reminds that “Don’t use development server in a production environment. Use a production WSGI server instead”. So what this mean? Can I deploy the dash project on the webserver and which way can do that?

It’s easy to deploy using gunicorn, and bind to your port.

gunicorn -b [ip]:[port] app:app.server

See the deployment page for other options: https://dash.plot.ly/deployment

Also, see this post: Deploy a Dash application