Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 2.03 KB

intellij-setup.md

File metadata and controls

53 lines (36 loc) · 2.03 KB

Running the project using Intellij

The following steps describe how to run the manta-monitor project using Intellij as the IDE.

NOTE: The Intellij Community Edition is good enough to run the application.

Import the project into Intellij

Follow the screen shots below to import the manta-monitor project into Intellij:

  • Start Intellij and select Import Project Step 1

  • Import Project from existing sources and select Maven

  • Select the default options as presented by Intellij and hit Next

Installing the project from Intellij

Once you have successfully imported the project, you can use the Intellij Maven Project View to install the project.

Select the Maven projects view within Intellij (the tab Maven Projects is located on the right side vertically) and select install as shown:

(Note: If you do not see the Maven Projects tab, then, select the View tab at the top and check if Maven Projects view is enabled)

Running the project from Intellij

From Intellij 'Run' tab select Edit Configurations and add the configurations as shown below: You will need the following env variables ready before adding the run configuration:

  • HONEYBADGER_API_KEY
  • MANTA_USER
  • MANTA_KEY_ID
  • JAVA_ENV = production/development
  • INSTANCE_METADATA_PROPS_FILE = src/test/resources/example-instance-metadata.properties
  • MANTA_METRIC_REPORTER_MODE = JMX
Add the run configuration in Intellij.

Select the Edit Configurations option from the Run tab

Add a new run configuration by selecting Applications as shown below:

Add the configuration options as:

Save the above configuration and now you will be able to RUN the project in Intellij