An app to analyze relationships among text articles (news articles, blogs, etc.) on the web.
Heroku Application: pressbotcity
(Note: The Heroku app doesn't have the sentiment analysis capabilities yet because of a package issue.)
Install Anaconda for Python 3.x.
Clone the directory to your computer.
git clone https://github.com/stevenrouk/pressbot.gitCreate and activate a conda virtual environment named 'pressbot-env' from the environment.yml file.
cd pressbot/
conda env create
source activate pressbot-envCreate settings_secret.py, and add a secret key for Django.
echo "SECRET_KEY = 'my-secret-key'" > pressbot/settings_secret.pyMake database migrations, then create the database.
python manage.py makemigrations
python manage.py migrateCollect static files.
python manage.py collectstaticCreate an admin user.
python manage.py createsuperuserRun the application server! In order to add text articles, you'll need to login as admin first by navigating to http://127.0.0.1:8000/admin, then go back to the index page and click the "Add Press Release" button.
python manage.py runserverOr, to explore the Jupyter notebooks under the 'research' folder:
jupyter notebook