Skip to content

Full Stack Web Developer Nanodegree Program ( Google Scholarship on Udacity ) project 3

Notifications You must be signed in to change notification settings

Eslam-Ayman/Logs-Analysis-DB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation of Logs Analysis (DB)

About

this project has made for testing skills of structured query language (SQL) . this project analyses DB called news

To Run

You will need:

  • Python3
  • PostgreSQL DB
  • psycopg2 Module

Setup

  1. Install python
  2. Download flask Module
    • pip install flask
  3. Download PostgreSQL DB
  4. Download psycopg2 Module (DB-API)
    • pip install psycopg2
  5. Download oauth2client Module
    • pip install oauth2client
  6. Download data from here

To Run

to be able using psql command through your terminal on linux or git bash on windows you need to add those two paths to $PATH environment variable %APPDATA%/PostgreSQL/bin & %APPDATA%/PostgreSQL/lib
%APPDATA% it is mean your installition path

download database and change your directory to the same file path and import it in your DBMS by using this command psql -d news -f newsdata.sql

to run the project code use this command python newsSourceCode.py

Program's Output

N|Solid

License

this project is free to every one who is starting to learn python

Author : Eslam Ayman

Releases

No releases published

Packages

No packages published

Languages