SoccerDatabase Project Program from Database Systems Class in Handong Global University
This document instructs how to run this program. There is 3 things you need to implement it.
These things must be done below this sentence.
- Download this program
- Download database configuration file in the program
(in case of network protection, config file is in the other drive) - Make a build environment for this program (if you use IDE)
The easiest way to download this program is clone this repository.
If you see this this docs, then you can access the repository
To connect our database system through this program, configuration file is needed to connect.
The file is stored in the other drive for some security and protection reasons.
If you have permissions to connect our database program (who are related to our team) then download the configure file here
If you just want to template files for the configuration file we can give our skeleton file at here
We provide 2 ways for build and run this program.
One is with IDE (Eclipse IDE), the other is CLI (with Ant Build)
We have tested this program on the Eclipse (both Eclipse IDE and Eclipse Oxygen .3)
If you are trying to implement this program in the other IDE, we can not support it.
Please follow below instruction carefully.
- Right click the workspace and press 'Import' button
- General -> Projects from Folder or Archive
- Click 'Directory' on the upper right side.
- Find the project folder where you cloned this repository.
- Make sure the folder that 'SoccerDatabase' folder is selected.
- Click Confirm(or Apply)
- Click Finish, then you can find out that the repository is uploaded on your workspace
- Right click again the workspace to import external library
- Build Path >-> Configure Build Path
- Click 'Library' tab on the upper side.
- Click 'Classpath' in the box, then click 'Add JARs' on the right side
- In the box, the external libraries are 'SoccerDatabase/java/libs'
- Click the both libraries 'mysql-connector-java-8.0.15.jar' and 'mybatis-3.5.1.jar'
- Check that those libraries are uploaded as subtrees of 'Classpath'
- Click 'Apply and Close'
- Then You are ready to run this program.
This is more easy way to build this program if you have Ant Builder If you don't have Ant Builder, you can download it from here
- In the project folder (In the 'SoccerDatabase' folder where build.xml file is) Command "ant MainClass"
- Then you can see the program is running.
Detail constaints are written in Google docs