Versions Compared

Key

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

...

This article will help to get you easily started with EDDI..

You have two Options on how to run EDDI. The most convenient way is to run EDDI as Docker Service. Alternatively, of course, you can run EDDI also from the source by checking out the git repository and building the project with maven.

...

Option 2 - Run from Source

Prerequirements:Prerequisites

  • Checkout from Github
  • Java 8
  • Maven 3

...

Info
titleImportant for eclipse users

If you are planning to browse and build EDDI's code from eclipse, You must take in consideration that EDDI uses project lombok Lombok, so you must add it to eclipse class pathclasspath, this can be done easily by executing the this jar .m2\repository\org\projectlombok\lombok\1.16.18\lombok-1.16.18.jar

...

3- set the working directory to apiserver

IntelliJ Configuration

  1. Go to Browser --> http://localhost:7070

...

Info

You can overwrite all configs within eddi either by altering the configs itself or - for convenience reasons (especially when running as the container) - by passing on VM params.

Example:

-Xbootclasspath/p:'.:lib/alpn-boot-8.1.11.v20170118.jar' -DEDDI_ENV=[development/production] -Dmongodb.hosts=somehost -Duser.dir=[LOCAL_PATH_TO_EDDI]\apiserver ai.labs.api.ApiServer

...

  1. launch EDDI's ApiServer from the packaged ZIP file apiserver/target/apiserver-4.3-package.zip with VM options -Xbootclasspath/p:'.:lib/alpn-boot-8.1.11.v20170118.jar' -DEDDI_ENV=[development/production] -Duser.dir=[LOCAL_PATH_TO_EDDI]\apiserver ai.labs.api.ApiServer
    or use .\apiserver\ApiServerStartup.bat resp. ./apiserver/ApiServerStartup.sh
  2. Go to Browser --> http://localhost:7070


Info

Passing it on to a docker Docker container (either plain/docker-compose/kubernetes), every environment variable name starting with "EDDI_JAVA_ENV_" will be automatically used.

Example: EDDI_JAVA_ENV_MONGODB_HOSTS=mongodb.hosts=somehost would end up as VM param in eddi (-Dmongodb.hosts=somehost)

...