Code Monkey home page Code Monkey logo

ser322gamedatabase's Introduction

SER322GameDatabase

This repository hosts the Database implementation for our SER322
Game Wiki Database.

To use our program, you will need:
Java 8 SDK
Postgres SQL Server with postgres user on default port 5432
Gradle installed

run from the command line using:

gradle rungui -Ppassword="['SQL_PASSWORD_HERE']"

This command will automatically start up a connection to postgress on the default
port using the entered password. It will search for an existing ser322 database with a
schema called gameschema and with all present tables and if not found will create them.

From there, the gui should start. Log in as a player. I suggest:
tcuprak
timCuprak

since he does not have alec as a friend (testing add friend).

From there view any panel. Including:
"My Profile"
Basic account info
"My Characters"
A breakdown of your characters
"Community"
Look for new friends and query info about your current ones
"Game Wiki"
Look up things about the game

Resource Documents:
These scripts are the sql versions of what the java generates. They are available inside the resource page

There are 4 scripts that have to do with initializing/maintaining the db.
These are:
CreateDB.sql
This script creates the database. It should be run from postgres user DropDB.sql
This script drops the database. It should be run after DropTableAndSchema.sql from the postgres user.
DropTableAndSchema.sql
This script drops the table and the schema. It should be run from the postgres user with a connection to the SER322_DB database (created by CreateDB.sql)
LoadDB.sql
This script loads the database which includes creating the tables and providing example inserts to run queries against. It should be run as the postgres user with a connection to the SER322_DB.

There are a number of SQL queries under Queries which can be run as examples.

ser322gamedatabase's People

Contributors

vcedgar avatar zlmonroe avatar tim2162286 avatar aqcastan avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.