Skip to content

Anas10895/FSND

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

log-analysis-project

Project Overview

this project is about bulding a reporting tool that well execute queries on newspaper site database.

instaliton

  1. first thing yuo need to instal vagrant virtual box from Here.
  2. dawnload this file and make sure to save it on the desktop Here.
  3. dawnload the database Here.
  4. make sure to save the project file with database inside the vagrant folder \fullstack-nanodegree-vm-master\vagrant.
  5. now you can run the program from the command prompt but its better to use git.bash you can find it Here.

running the project

  1. Navigate to folder using the bash interface cd your-directory\fullstack-nanodegree-vm-master\vagrant.
  2. creates and configures the guest machines(vagrant) tybe vagrant up it may take sometime.
  3. Now you will open a connection into a the running Vagrant vagrant ssh.
  4. dawnload the database to vagrant use psql -d news -f newsdata.sql and run it with psql -d news.
  5. Navigate into the vagrant folder using cd /vagrantand then to project folder cd log_project.
  6. now you can run the program using python log-analysis.py.

About

log-analysis-project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published