Git Product home page Git Product logo

log-analysis's Introduction

Why this project?

In this project, you will stretch your SQL database skills. 
You will get practice interacting with a live database both 
from the command line and from your code. You will explore 
a large database with over a million rows. And you will 
build and refine complex queries and use them to draw 
business conclusions from data.

Report generation

Building an informative summary from logs is a real task 
that comes up very often in software engineering. For 
instance, at Udacity we collect logs to help us measure 
student progress and the success of our courses. The 
reporting tools we use to analyze those logs involve 
hundreds of lines of SQL.	

How to run:

  1. First of all you have to download and install vagrant and virtual box.

  2. Download the data from this link

  3. Now this is the main database in the downloaded file.

  4. Clone this repo and move newsdata.sql into the downloaded folder.

  5. Now open terminal and write these commands to run virtual machine:

    a) vagrant up
    b) vagrant ssh
    c) cd /vagrant
    d) psql -d news -f newsdata.sql
    e) pswl -d news
    
  6. These commands will load the database and connect you to it too.

  7. Now after running all these commands, simply run "python news.py" on your terminal.

log-analysis's People

Contributors

rahulkathuria avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.