sudo apt-get -y install default-jdk maven zookeeper zookeeperd redis-server python-software-properties python-pip python tree
sudo pip install flask redis
FROM THE ROOT FOLDER :
cd FluProject/
mvn clean
mvn package
FROM THE ROOT FOLDER :
cd FluProject/
RUN THE GENERATED JAR THAT SHOULD BE LOCATED IN THE TARGET FOLDER : (type tree if you don't find it)
storm jar target/twitter-flu-uk-storm-0.0.1-SNAPSHOT-jar-with-dependencies.jar twitter.storm.FluDetectorTopology
FROM THE ROOT FOLDER :
cd viz_uk/
python app.py
TYPE IN BROWSER :
localhost:5000/stream
WHILE THE PYTHON SCRIPT IS RUNNING AND THE TOPOLOGY IS RUNNING TOO , TYPE IN BROWSER :
localhost:5000/map