Twitter live capture and Sentiment Analysis
Installation
sudo apt-get update && apt-get upgrade -y
sudo apt-get install git supervisor nginx nano python-virtualenv rabbitmq-server -y
sudo groupadd --system webapps
sudo mkdir -p /webapps/tsa
sudo useradd --system --gid webapps --shell /bin/bash --home /webapps/tsa tsa
sudo chown tsa /webapps/tsa
sudo su - tsa
virtualenv .
source bin/activate
git clone https://github.com/saed-alkaabi/tsa.git
pip install -r tsa/requirements.txt
python -m nltk.downloader all
python tsa/manage.py migrate
python tsa/manage.py syncdb
python tsa/manage.py collectstatic --noinput
deactivate
mkdir /webapps/tsa/logs
touch /webapps/tsa/logs/gunicorn_supervisor.log
chmod 777 /webapps/tsa/tsa/install/install.sh
exit
/webapps/tsa/tsa/install/install.sh