Coder Social home page Coder Social logo

brcm's Introduction

BRCM

Bronco Recreation Complex Management system by Team 03 for CS 5800. The aim is to convert the current recreation complex system into an automated one.

Backend

Initializing DB

  1. Open PGADMIN tool right click on databases and click create. A window will pop up give it a database name I named my brcm_database (keep note of it if yours is different) then select an owner. Leave default setting for all other tabs and click save.

  2. Right click the newly created database and select query tool. A blank Query Editor text pad will appear.

  3. Open the brcm_db_initialization.sql file in the resources folder copy the contents from that file and paste it into the query tool and hit the execute button then hit the save data changes button.

Setting Up Hibernate

  1. Right click project folder, select configure build path then under the Java Build Path window select the libraries tab. Click on classpath and click add library.

  2. Then click Add Library.

  3. Select User Library from the next menu and click next.

  4. Click the User Libraries... Button on the next page.

  5. On the next window click New... A window will appear with an input box type in Hibernate.

  6. Next highlight the newly created library and click the option of Add External JARs...

  7. Navigate to the build folder and under the hibernatejar folder select all jars and add them to the newly created library.

  8. Click apply and close and that window will close you will see the add user library window with the library you just created selected clich finish.

  9. Then click apply and close.

Seeding Data

  1. Go to the HibernateUtil.java file and update/verify lines 31 - 33 make sure your personal postgresql username, password, port number are the same and that the database names are matching.
  2. In the same Java file from step one switch from validate mode to create/drop mode (it's commented out)
  3. Run the Seed.java file as a java application
  4. In the HibernateUtil.java switch back to validate mode

brcm's People

Contributors

deangarcia avatar m-acosta avatar roast-rabbit 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.