Eslam-Ayman / Logs-Analysis-DB

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Python 100.0%