Configure a virtual environment:
python -m venv venv
source venv/bin/activateInstall the requirements:
pip install -r requirements.txtCopy the settings.py.example file to settings.py and configure the variables.
cp settings.py.example settings.pyFirst, run the Twitter streaming application:
python twitter_streaming.pyAfter that, run the Spark sentiment analysis application:
python spark_streaming_sentiment_analysis.py