Skip to content

neelesh38/Log-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

LOG ANALYSIS

This project is part of Full Stack Nanodegree

Aim of this project is to print report based on data in database by using python(2.7.10) and postgresql

How To Install

1.Install Vagrant and VirtualBox
2.Download or clone from github fullstack-nandegree-vm repository
3.Now we got newsdata.sql in our vagrant directory and now we are good to go.

How to run

  1. change directory to vagrant directory then
  2. vagrant up command to run the vagrant on vm
  3. vagrant ssh to login into vm
  4. change directory to vagrant
  5. use command psql -d news -f newsdata.sql to load database
    -use \c to connect to database="news"
    -use \dt to see the tables in database
    -use \dv to see the views in database
    -use \q to quit the database
  6. use command python log1.py to run the programm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages