Skip to content

melc/news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors