Skip to content

ysr25/ip

 
 

Repository files navigation

Duke

  • This is a greenfield Java project for a software engineering module.
  • Duke is a to-do list manager in the form of a chatbot.

Quick Start

Prerequisites: Java 11

  1. Download duke.jar from releases.
  2. Double click or use the java -jar duke.jar command to run. You should see something like:
    Hello from
     ____        _        
    |  _ \ _   _| | _____ 
    | | | | | | | |/ / _ \
    | |_| | |_| |   <  __/
    |____/ \__,_|_|\_\___|
    
  3. Refer to the user guide on how to use Duke.

Setting up in IntelliJ

Prerequisites: JDK 11, update IntelliJ to the most recent version

  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, as follows:
    1. Click Configure > Structure for New Projects and then Project Settings > Project > Project SDK.
    2. 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.
    3. Click OK.
  3. Import the project into IntelliJ as follows:
    1. Click Open or Import.
    2. Select the build.gradle file in the project directory, and click OK.
    3. If there are any further prompts, accept the defaults.
  4. After the importing is complete, run the ip[run] task in the Gradle toolbar. If the setup is correct, you should see something like:
    Hello from
     ____        _        
    |  _ \ _   _| | _____ 
    | | | | | | | |/ / _ \
    | |_| | |_| |   <  __/
    |____/ \__,_|_|\_\___|
    

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.1%
  • Shell 1.1%
  • Other 1.8%