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.
-
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.
-
Right click the newly created database and select query tool. A blank Query Editor text pad will appear.
-
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.
-
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.
-
Then click Add Library.
-
Select User Library from the next menu and click next.
-
Click the User Libraries... Button on the next page.
-
On the next window click New... A window will appear with an input box type in Hibernate.
-
Next highlight the newly created library and click the option of Add External JARs...
-
Navigate to the build folder and under the hibernatejar folder select all jars and add them to the newly created library.
-
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.
-
Then click apply and close.
- 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.
- In the same Java file from step one switch from validate mode to create/drop mode (it's commented out)
- Run the Seed.java file as a java application
- In the HibernateUtil.java switch back to validate mode