This app was created to visualize data on headlines gathered from multiple sources. This app should be used in conjunction with the News_Data_Analysis app, which gathers headlines data on a regular basis.
News_Data_Analysis app github: https://github.com/cjin2019/News_Data_Analysis
- Install python
- Create and start virtual environment:
- python -m venv venv
- (macos/linux) source venv/bin/activate
- (windows) venv/Scripts/activate
- pip install -r requirements.txt
- Setup MySQL server: See instruction in readme here:
- Connect app to MySQL server: in news_analysis_app/settings.py, add username and password for DATABASES
python manage.py runserver
- https://docs.djangoproject.com/en/3.0/intro/tutorial01/
- https://docs.djangoproject.com/en/3.0/howto/legacy-databases/
- plotly: https://plotly.com/javascript
- wordcloud resource: https://github.com/timdream/wordcloud2.js
- bootstrap:
- icons: https://icons8.com/icons/set/bar-chart