cinston / NewsHighlights

an app that shows newshighlits globally

Home Page:https://news-highlightss.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

News Highlighter

2/8/2019

By Winston Carlos

Description

This is an app that allows one to select from a list of news sources and display all the articles for that news source.

Link to live site

https://news-highlightss.herokuapp.com/

Setup/Installation Requirements

Technologies Used

  • HTML
  • CSS
  • Flask-Bootstrap4
  • Python3.6
  • Heroku
  • Flask

Clone the repo and checkout into the project folder.

  • git clone https://github.com/cinston/NewsHighlights
  • cd NewsHighlight

Create and activate the virtual environment

  • python3.6 -m venv virtual
  • source virtual/bin/activate

Setting up environment variables

Create a 'start.sh' file and paste the following where appropriate:

  • export NEWS_API_KEY='<api_key>'
  • python3.6 manage.py server

Install the dependencies

Install dependancies that will create an environment for the app to run.

  • pip install -r requirements.txt

Make the file executable

  • chmod a+x start.sh

Open the file in the terminal

  • ./start.sh

License

Copyright (c) 2018 Winston Carlos

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

an app that shows newshighlits globally

https://news-highlightss.herokuapp.com/


Languages

Language:Python 56.1%Language:HTML 23.1%Language:Shell 20.8%