melc / news

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

News Reporting Tool

News Reporting Tool app is a micro data analysis app for news feed with python flask and postgresql deploying on ubuntu 16.04 LTS hosted on vagrant virtual machine (VM)

Technical Features

include:

  • Python 3.5
  • Flask Framework
  • Postgresql
  • Virtualbox and Vagrant

Functional Features

  1. What are the most popular three articles of all time?
  2. Who are the most popular article authors of all time?
  3. On which days did more than 1% of requests lead to errors?

Steps of Launching News Reporting Tool

1. Install Virtualbox

2. Install Git

3. Install Vagrant

4. Download Datafile, Vagrantfile, and Source Codes

5. Start the Virtual Machine

  • Install ubuntu 16.04 LTS on VM

    cd vagrant/
    vagrant up
    
  • Login to installed ubuntu VM

    vagrant ssh (note: $ will be changed to vagrant@vagrant:~$)

6. Launch the Application

  • Create database news

    cd vagrant/news
    psql -d news -f newsdata.sql
    
  • Launch application.py

    python3.5 application.py

  • Open browser and type in localhost:8000

About


Languages

Language:Python 62.2%Language:HTML 28.6%Language:CSS 9.1%