Skip to content

ru1nw/starsrus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarsRus

Date created: December 2, 2023

this is a project for:

University of California, Santa Barbara

CMPSC 174A - FUND DATABASE SYS

Fall 2023

install & execute

  1. install Java Development Kit (JDK) 21
  2. clone the project
    1. git clone https://github.com/ru1nw/starsrus.git
  3. extract the wallet for Oracle DB to the root of the project
  4. fill in environment properties
    1. make a copy of src/main/Util/TEMPLATE-AppProperties.java in the same folder, name it AppProperties.java
    2. under class AppProperties in , fill in PATH_TO_WALLET and DB_PASSWORD
  5. make our lives easier by utilizing these shell scripts
    1. at the root of the project, run chmod u+x compile run
  6. compile and test connection: at the root of the project, run
    1. ./compile src/main/Util/TestConnection.java
    2. ./run Util.App
    3. if success, it would print out the Accounts table with columns aid, balance, and uname
    4. if failed, there might be somthing wrong with the environment properties in AppProperties.java, or the database was shut down
  7. compile and execute: at the root of the project, run
    1. ./compile src/main/App.java
    2. ./run App

team member & contribution

About

UCSB CMPSC 174A - FUND DATABASE SYS - Fall 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors