Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

UMM-CSci-3601-S17/digital-display-garden-iteration-3-sixguysburgers-fries

Repository files navigation

Digital Display Garden

Build Status

Software Design Spring 2017, Iteration 3, Team Six Guys Burgers 'n Fries

Group members: Phillip, RJ, Travis, Jacob, Spencer, and Jerry

This repository is a fork from Iteration 2 , Team Grimaldi, who forked from Iteration 1 , Team Claude Arabo.

Stories

  • Updating the Database
  • Graphical Data Representation
  • Upload and Display/Store one Image per plant.

Problems

###Updating the Database

  • No known problems

Graphical Data Representation

  • Have to click the graph update bed button twice to display information
  • When updating the database and trying to display a graph you might have to refresh the page
  • CAN ONLY VIEW ON DESKTOP!

Upload and Display/Store one Image per plant.

  • Photo storage is affected by typos
  • Photos can't accessed/view from client side
  • Photo file name does not have an extension
  • Some notification that the photo is uploading (uploading bar)

Team Motto

When in doubt Phillip will sort it out

Note, for fixing self-port locks:

Step One: Find the Process that's hoarding the port
Step Two: Kill the Process

This only works if you accidently locked the port on yourself, otherwise seek an admin or restart the computer. However, restarting the computer is frowned upon in the lab.

to kill the process type: "kill PID"
For example: $ kill 3944
$
If nothing is returned, the the process was successfully killed.

Finding the PID is a lot harder. Three methods are shown for reduncancy's sake.

METHOD 1: Use Fuser.

$ fuser 4567/tcp

4567/tcp:            10030

$ kill 10030

METHOD 2: Try using netstat(works best with full-screen terminal), find the port number under Local Address, follow the row to the last column for the PID.

$ netstat -tulpn

tcp6       0      0 :::4567                 :::\*                    LISTEN      10123/java

$ kill 10123

METHOD 3: Type top, and pick a random Java process. If it doesn't work, keep trying!

$ top

10123 mitch809     . . .      java

$ kill 10123

Documentation

Libraries used

Client-Side

  • Angular 2
  • Jasmine and Karma

Server-Side

  • Java
  • Spark is used for the server operations
  • JUnit is used for testing
  • Apache is used for importing and exporting data in .xlsx format
  • zxing is used for generating QR codes (supports reading them if we want)
  • joda is used for making an unique LiveUploadID

Resources