An internal reporting tool that generates informative summaries from a news database.
This project satisfies a project requirement for Udacity's Full Stack Web Developer Nanodegree.
-
Download & install VirtualBox
-
Download & install Vagrant Check if Vagrant is successfully installed by running on terminal.
vagrant --version
If you see the version number, then you're good.
-
Download or Clone the repository
git clone https://github.com/kiraheta/logs-analysis-project.git
-
cd
into directory logs-analysis-project.
-
Inside the subdirectory, run the command
vagrant up
. Doing so will download & install the Linux OS. -
Once
vagrant up
is completed and your shell prompt returns, runvagrant ssh
to log into newly installed Linux OS. -
Lastly, run
cd /vagrant
-
Download & unzip newsdata.zip
-
Place the file
newsdata.sql
inside of thevagrant
directory -
Load the data via the command
psql -d news -f newsdata.sql
- Run
python log.py
If module runs successfully, you will see the following output: