Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Clone from github.

  • Open intellij and import from the Exchange Directory (not the modelCatalogueTestPluginApp directory)

  • Run through the “create module from existing sources” (don’t click any other options)

  • Open the project in Intellij and go to “Project Settings”

    Image RemovedImage Added

    • Delete the existing modules

      Image RemovedImage Added

    • Import a new module, selecting the ModelCatalogueCorePluginTestApp.

      Image Removed

      .

      Image Added

Ensure that java 1.8+ is selected, and that the correct groovy and grails libraries are selected - the system should prompt you for these.

At this point the ModelCatalogueCorePlugin should be configured to run:

...

Then you can click on Edit Configurations to get the next screen up: and from there you will need to set up a few environmental variables to get the local system running:

...

Image Added

Most of these can be left blank, such as the S3 details, as they will default to local default settings if nothing is set, however it is probably wise to configure the JDBC settings.

Also Elastic search needs to be running - ideally on localhost:9300 - if not then change the environment variables as appropriate.

(Plugin Code v2.5)

Key steps to be aware of include:

...

  1. If a module is missing then set it up, click on the + button, and then select the directory (in this case Exchange).

  2. Image RemovedImage Added

    1. click on wizard option: create module from existing sources

    2. Image RemovedImage Added

  3. select “grails” from dropdown on next wizard page

  4. finish and apply

  5. Check Project section that Java 1.8 or higher is selected.

  6. Make sure correct Grails version (2.5.6) is selected - right click on Project and select Grails menu option.

  7. If moving from a pre-v2.5 database the role_hierarchy_entry table needs to be dropped, the application will re-apply a new hierarchy on loading up.

  8. -Dgrails.server.port.http=8090 to change port

  9. -Xmx8G to up the heap memory available

...