Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.31 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.31 KB

Epsilon Playground Back-End

This repo hosts a copy of the back-end code of the Epsilon Playground. The source code for its front-end is in Epsilon's website repo.

To run the Epsilon Playground front-end, follow the instructions provided here to clone and run Epsilon's website.

To run the back-end locally too, you should clone this repo, run the following commands

  • mvn function:run -Drun.functionTarget=org.eclipse.epsilon.live.RunEpsilonFunction -Drun.port=8001
  • mvn function:run -Drun.functionTarget=org.eclipse.epsilon.live.FlexmiToPlantUMLFunction -Drun.port=8002
  • mvn function:run -Drun.functionTarget=org.eclipse.epsilon.live.EmfaticToPlantUMLFunction -Drun.port=8003

and update the frontend's backend.json as follows to make the front-end call the local instances of the respective web services.

{
  "service": [
    {"name": "RunEpsilonFunction", "port": "8001"},
    {"name": "FlexmiToPlantUMLFunction", "port": "8002"},
    {"name": "EmfaticToPlantUMLFunction", "port": "8003"},
    {"name": "ShortURLFunction", "url": "https://europe-west2-epsilon-live-gcp.cloudfunctions.net/short-url"}
  ]
}