An app to retrieve latest news from popular online portals through feeds.
This app allows you to configure categories and feeds to retrieve latest news from popular news portals.
The technologies used are:
- python 2.7
- flask 0.11.1
- redis 2.10.0
- gunicorn 19.6.0
- twitter bootstrap
- font-awesome
-
Go to category to add/remove category that you want to subscribe to
-
Go to feed to add/remove feed url that you want to get the news from
-
Go to homepage to see the latest news
-
From homepage, click on
Update News
to refresh the page
-
Install pip and set up the virtual environment
-
Install dependencies with pip:
pip install -r requirements.txt
-
Go into virtual environment
-
Start the flask app with
gunicorn app:app
, then go tolocalhost:8000
to see the appor you can start the app with supervisor
supervisord -c conf/supervisord.conf
-
From the root folder, run
docker build -t news_post .
to build the docker image -
Run
docker run -p 8000:8000 -i -t news_post
-
Open the app at
http://<docker-machine-ip-address>:8000
Note: To find out the docker machine ip address you can use command
docker-machine ip default