Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬 Register for the Oct 27 webinar.

Deploy live sentiment of tweets on a VPS

I am trying to deploy live sentiment analysis dashboard on a VPS in Linode/Heroku

However, I cannot see live updates happening.

My file structure:

Inside /var/www/FlaskApp/FlaskApp:

  1. live_twitter_sentiment_streaming.py -used to stream tweets
  2. live_discussion_streaming.py- used to stream tweets
  3. lve_twitter_sentiment.py - contains layout for the tweets page
  4. live_discussion_sentiment.py - contains layout for the discussion page
  5. welcome.py - contains layout for the welcome page
  6. init.py - contains the app.layout, and redirects based on location.

NOTE: init.py is actually represented in the correct way in my system. It is shown as init.py here due to formatting reasons.