A Flask application that uses websockets to map Tweets in a geographic location and produces a heatmap with it.
- Clone this repo
- Setup a virtualenv
$ virtualenv --python=python2.7 --no-site-packages .venv
$ source .venv/bin/activate
- Install the requirements
$ pip install -r requirements.txt
- Save
config-sample.yml
asconfig.yml
and add the values you want to use - Run the Tweet collector
$ python TweetStreamer.py
- Run the webserver
$ gunicorn -k flask_sockets.worker application:app