An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

Python27

# 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`_