/main

Duke is a command line based personal assistant

Primary LanguageJava

Build Status Build status Build Status

MooMooMoney

MooMooMoney is a money management application written in Java and JavaFx 11.

Alt text

Setting up

Prerequisites

  • JDK 11
  • Recommended: IntelliJ IDE
  • Fork this repo to your GitHub account and clone the fork to your computer

Importing the project into IntelliJ

  1. Open IntelliJ (if you are not in the welcome screen, click File > Close Project to close the existing project dialog first).
  2. Set up the correct JDK version.
  • Click Configure > Structure for new Projects (in older versions of Intellij:Configure > Project Defaults > Project Structure).
  • If JDK 11 is listed in the drop down, select it. If it is not, click New... and select the directory where you installed JDK 11.
  • Click OK.
  1. Click Import Project.
  2. Locate the project directory and click OK.
  3. Select Create project from existing sources and click Next.
  4. Rename the project if you want. Click Next.
  5. Ensure that your src folder is checked. Keep clicking Next.
  6. Click Finish.

Running the project

Gradle is integrated into the project and can be used to run various functions.

Examples

  1. gradle run to start the application
  2. gradle test to run JUnit Tests written
  3. gradle checkstyleMain checkstyleTest to run a coding standard check based on the configuration.

Setting up

  1. If the dropdown box beside the run button is empty, click the dropdown box > Edit Configurations
  2. Click on + > Gradle
  3. At the end of the Gradle Project text box on the right, click the folder with a blue icon, select duke as the project.
  4. Click OK
  5. To run specific gradle commands, click on Gradle on the right of IntelliJ, click on the elephant icon labeled Execute Gradle Task
  6. Type in any gradle command as per the above examples.
  7. The option should appear in the dropdown box and it can be selected to run that task.