Skip to content

ryangphan/Logs_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PROJECT 3: Logs Analysis

by Ryan Phan

Project Logs Analysis is a part of the Udacity Full Stack Web Developer Nanodegree.

The project consist of the following files:

  • newsdb.py : the python file contains the source code of this project
  • output.txt : a sample output this project will generate
  • README.md : guideline to run this project

Installation

To run this project, you will need to successfully install these following software:

Additionally, you need to have these files as well:

  • Download or clone this repository
  • Download, unzip this database and put it in the same folder as the one used to install the virtual machine

How To Run This Project

  • Download and install Python3, and VirtualBox
  • Open the terminal on your computer and direct it to vagrant sub-directory inside the udacity-fullstack-vm folder
  • Installing Vagrant in the previous folder by using the following command
$ vagrant up
  • It will took a while to install the virtual machine base on the speed of your internet.
  • After successfully installing the virtual machine, you can log in by using the command
$ vagrant ssh
  • Redirect your virtual machine's vagrant folder by using command:
$ cd /vagrant
  • To load the database, please use the following command:
psql -d news -f newsdata.sql
  • Finally, to run the project, please use the following command:
python3 newsdb.py

Miscellaneous

This README document is based on a template suggested by PhilipCoach in this Udacity forum post

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages