Repository for Capstone Project of ITSS software development: EcoBikeRental System
Supervisor: Dr. Nguyen Thi Thu Trang
Member:
- Nguyen Thi Linh 20200349
- Vu Thuy Linh 20205159
- Pham Khanh Linh 20205286
- Bui Thanh Long 20205160
Welcome to the AIMS project. Here is a guideline to help you get started.
The workspace contains the following folders, where:
src
: the folder to maintain sourceslib
: the folder to maintain dependenciesassets
: the folder to maintain static resourcestest
: the folder for testing purpose
Import the root directory of this repository after cloning under Eclipse
-> Open Projects from File System...
or by using EGit.
Import mysql-connector-j-8.1.0.jar
in lib
under Eclipse
-> Project
-> Properties
-> Java Build Path
-> Classpath
-> Add JARs...
.
In case you have not installed Mysql Server on your local machine, follow this tutorial: https://www.youtube.com/watch?v=k5tICunelSU&t=15s
Connect Java with MySQL DB: https://www.youtube.com/watch?v=bmv5SLrEQ-M&t=146s&fbclid=IwAR3A-rlxH2wIeXO2ZFepj-AD2jFtMWp6H1o6xHqPmI36B_j8H5oVtiiRVo4&ab_channel=AbhishekChaudhary
Paste SQL query (DB/create.sql
) in your MySQL server
Then config DB_PASSWORD
with your MySQL password in utils/Configs.java
Import JUnit5
library under Eclipse
-> Project
-> Properties
-> Java Build Path
-> Modulepath
-> Add Library...
-> JUnit
-> Next
.
Note: At first, please try to run the project once, and then follow these steps.
- Create a new
User Library
underEclipse
->Window
->Preferences
->Java
->Build Path
->User Libraries
->New
- Name it anything you want, e.g.,
JavaFX15
, and include the jars under either thelib/linux/javafx-sdk-15
directory for Linux distro or thelib/win/javafx-sdk-15
directory for Windows in the project. - Include the library, e.g.,
JavaFX15
, into the classpath.
Click on Run
-> Run Configurations...
-> Java Application
, create a new launch configuration for your project and add these VM arguments:
- For Linux distro:
--module-path lib/linux/javafx-sdk-15/lib --add-modules javafx.controls,javafx.fxml
- For Windows:
--module-path lib/win/javafx-sdk-15/lib --add-modules javafx.controls,javafx.fxml