Skip to content

Doer-Project/Doer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Setup Guide

Welcome! This project helps households and workers connect for local services.
To run this project successfully, please follow the setup steps below.


Prerequisites

  • Java Development Kit (JDK) 8 or above
    Make sure Java is installed on your machine. Download JDK
  • MySQL or MariaDB Server
    Required for storing all project data.

Dependencies

  1. JavaFX
    Used for building the project’s graphical user interface.

  2. MySQL Connector/J
    Enables Java to connect to MySQL/MariaDB databases.

    • Download: MySQL Connector/J
    • Add the mysql-connector-java-x.x.x.jar to your project’s libraries.
  3. javax.mail
    Used for sending emails (e.g., notifications, confirmations).

  4. Project Database
    The project uses a pre-configured sample database.

    • File: doer.sql
    • This file contains all database tables, sample data, views, triggers, and stored procedures needed for the app to function.

Setup Instructions

1. Clone the Repository

git clone https://github.com/Doer-Project/Doer.git
cd Doer

2. Import the Database

  1. Open MySQL Workbench, phpMyAdmin, or your command line.
  2. Create a new database, e.g., doer.
  3. Import the provided doer.sql file:
    mysql -u youruser -p doer < doer.sql
  4. Update your Java application's DB connection string as needed.

3. Install Java Dependencies

  • Ensure JavaFX, MySQL Connector/J, and javax.mail jars are added to your IDE/project.
  • For manual projects, add them to your classpath.
  • For Maven/Gradle, include dependencies as shown below:

Example Maven dependencies

<dependencies>
    <dependency>
        <groupId>org.openjfx</groupId>
        <artifactId>javafx-controls</artifactId>
        <version>20.0.0</version>
    </dependency>
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>8.3.0</version>
    </dependency>
    <dependency>
        <groupId>com.sun.mail</groupId>
        <artifactId>javax.mail</artifactId>
        <version>1.6.2</version>
    </dependency>
</dependencies>

Troubleshooting

  • Database Connection Issues:
    Double-check your DB username, password, and port. The default port is usually 3306.
  • JavaFX Errors:
    Ensure the JavaFX jars are on your module path, not just the classpath.
  • Missing Libraries:
    Download and add all required jars as per above instructions.

Further Reading


If you’re new to Java projects, don’t hesitate to ask for help or search the documentation links above!

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages