ResiMatriX – A Hostel and Administration Tool
To run the project:
-
Install NetBeans IDE:
- If you haven't already, download and install NetBeans IDE from the official website.
-
Open NetBeans IDE:
- Once installed, open NetBeans IDE.
-
Open Project:
- Click on "File" in the menu bar and select "Open Project".
- Navigate to the directory where your project is located (in this case, it's "ResiMatriX").
- Select the project folder ("ResiMatriX") and click "Open" or "OK".
-
Run the Project:
- In the Projects pane, navigate to the "src" folder.
- Find and double-click on the "login.java" file to open it.
- Right-click on the opened file and select "Run File" from the context menu.
- This will compile and execute the Java file, running your project.
To set up the database:
-
Install MySQL:
- If you haven't already, download and install MySQL from the official website.
-
Run Database Commands:
- Open MySQL.
- Run the commands specified in the "Database.txt" file to set up your database schema and populate it with initial data.
To connect the database to the project:
- Add MySQL JDBC Driver to Libraries:
- In the Projects pane, locate the "Libraries" folder under your project ("ResiMatrix").
- Right-click on the "Libraries" folder and select "Add JAR/Folder" from the context menu.
- Navigate to the location where you have downloaded the MySQL JDBC driver JAR file ("mysql-connector-j-8.0.33.jar").
- Select the JAR file and click "Open" or "OK" to add it to the project's libraries.