A service for connecting students in need of drives with those able to provide them.
This application was developed in Eclipse, and running it in Eclipse is recommended. To do so, having downloaded Eclipse, follow these steps:
- Download the code, then import it as an existing project into your workspace (File > Import... > General).
- Make sure
application
andui
are packages within thesrc
folder. - Download the MySQL driver (choose Platform Independent, then download the .zip file). Extract the contents of the .zip file.
- Right click on the project in the File Explorer and click on Properties. Under Java Build Path, go to the Libraries tab. Click on Classpath, then use the "Add External JARs..." button to add the .jar file located inside the folder extracted from the .zip file in the previous step.
- Add JavaFX to the project, following the steps for non-modular IDE projects in this tutorial.
- Install MAMP. Once it's installed, open it and start the servers if they don't start automatically. Then go to MAMP > Preferences > Ports and note the MySQL port.
- In the application source code, in
src/application/DatabaseHandler.java
, change thePORT_NUMBER
constant to be the MySQL port from the previous step. - Run
src/application/LogInApplication.java
.