socialsentiment icon indicating copy to clipboard operation
socialsentiment copied to clipboard

https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js is not available

Open amirunpri2018 opened this issue 5 years ago • 1 comments

please how solution https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js is not available

amirunpri2018 avatar Aug 19 '20 18:08 amirunpri2018

As in the instruction: dev_server.py - If you wish to run this application locally, on the dev server, run via this instead.

So if we run locally: we need to go to the project directory and run dev_server.py using command link: python dev_server.py

Also, we need to enable Dash offline by adding these 2 lines before server = app.server in dash_mess.py

# Set run locally
app.css.config.serve_locally = True
app.scripts.config.serve_locally = True

server = app.server

Source is this link: https://github.com/plotly/dash/issues/46

danhphan avatar Jan 05 '21 01:01 danhphan