Skip to content

esturcke/cmsc-636-project

Repository files navigation

VizSec Semester Project for CMSC 636 / Data Visualization

Overview

Live demo site

Screen shot

Getting Started

Prerequisites

Setup

NOTE: Downloading and populating the database may take up to 2 hours and requires 30GB of disk space.

Clone Repository

git clone git@github.com:esturcke/cmsc-636-project.git

Install Node.js Dependencies

yarn

Download VAST Data

To download and extract the raw VAST data to raw-vast-data run:

bin/fetch-vast-data

Process Data and Populate PostgreSQL

Create database cmsc-636

CREATE DATABASE "cmsc-636";

Process the data

yarn process-hosts
yarn process-flows
yarn process-intrusions

Add indexes

psql cmsc-636 < schemas/{flow,intrusion}.index.sql

Create derived tables

psql cmsc-636 <  schemas/{flow,intrusion}_*.sql

Create a user anon:

psql cmsc-636 < schemas/read-only.sql

Viewing the Visualization

Start the REST API

yarn rest-api

Or to start the REST API as a daemon:

yarn rest-api-daemon

Start the Development UI

yarn start

Build the UI

Alternatively, the UI can be built in production mode:

yarn build