https://github.com/tonyvu2014/news_post
An app to configure and retrieve latest news from popular online portals
https://github.com/tonyvu2014/news_post
feed flask news-post python redis social-media-walls twitter-bootstrap
Last synced: about 1 month ago
JSON representation
An app to configure and retrieve latest news from popular online portals
- Host: GitHub
- URL: https://github.com/tonyvu2014/news_post
- Owner: tonyvu2014
- Created: 2016-05-11T14:43:07.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-27T15:22:24.000Z (about 9 years ago)
- Last Synced: 2025-03-15T04:51:40.325Z (about 1 year ago)
- Topics: feed, flask, news-post, python, redis, social-media-walls, twitter-bootstrap
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: news_feed.py
Awesome Lists containing this project
README
# news_post
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
## Usage
1. Go to category to add/remove category that you want to subscribe to
2. Go to feed to add/remove feed url that you want to get the news from
3. Go to homepage to see the latest news
4. From homepage, click on `Update News` to refresh the page
## To run with virtual environment:
1. Install pip and set up the virtual environment
2. Install dependencies with pip: `pip install -r requirements.txt`
3. Go into virtual environment
5. Start the flask app with `gunicorn app:app`, then go to `localhost:8000` to see the app
or you can start the app with supervisor `supervisord -c conf/supervisord.conf`
## To run with Docker
1. From the root folder, run `docker build -t news_post .` to build the docker image
2. Run `docker run -p 8000:8000 -i -t news_post`
3. Open the app at `http://:8000`
_Note: To find out the docker machine ip address you can use command `docker-machine ip default`_