Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Latest commit

 

History

History
35 lines (21 loc) · 1.47 KB

moqui-ide-setup.md

File metadata and controls

35 lines (21 loc) · 1.47 KB

Intellij Idea Tutorial

  1. Install IntelliJ Idea by following these steps:

Install and set up IntelliJ IDEA - Help | IntelliJ IDEA

  1. Open IntelliJ and click "Import Project"

  2. Select Gradle as the project type and hit next

import-gradle.png

  1. Configure the project to look like below and then click Finish:
    • Check "Use auto-import"; this makes sure that all of your gradle build files are kept updated in the background by IntelliJ
    • Check "Use gradle 'wrapper' task configuration" to tell IntelliJ to use Moquis' gradle wrapper.

gradle-config.png

Set up a run configuration

One powerful feature of an IDE is running and debugging your application, so we'll set up a run configuration that will allow you to do that.

  1. Click "Add Configuration..." in the top-right next to the green hammer
  2. Click the + button at the top-left of the dialog and choose the "Gradle" option

run-config-gradle.png

  1. Set up your configuration like below:
    • Click the folder button next to the "Gradle project" input and select the top-most directory
    • Input "run" as your task. It uses the same tasks you would use with ./gradlew
    • Check "Single instance only"

run-config.png

  1. Hit OK and you can now use the green play button where you found the run configurations to run Moqui.