Skip to content

The Martini Designer Web browser ( That will take the UI similiar with Visual Studio Code using `theia` open-source )

Notifications You must be signed in to change notification settings

wb-ts/martini-designer

Repository files navigation

Martini IDE

This project is the IDE for the Martini Runtime built with Theia, React and TypeScript. It has a desktop (Electron based) version and a browser one.

Getting started

Install Node.js and NPM

Install nvm.

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash

Install npm and node.

nvm install 12.14.1
nvm use 12.14.1

Install Theia Prerequisites

See here.

Install yarn and lerna

Install yarn.

npm install -g yarn

Install lerna

yarn global add lerna

Building

Run yarn in the project root.

Running Tests

Run yarn jest in the project root.

Starting the Application

First start your Martini Runtime server on localhost:8080.

In order to connect to the Martini Runtime server, Martini Designer needs to know the credentials of your account. You can pass them by using the MR_USERNAME and MR_PASSWORD env variables.

If you're using VS Code to launch, replace the env variable values in .vscode/launch.json.

You can also override MR_ADDRESS and MR_PORT in the same fashion.

Browser App

# only the first time
yarn theia rebuild:browser

cd browser-app
yarn start

Or launch the Start Browser Backend in the .vscode/launch.json file.

Electron App

# only the first time
yarn theia rebuild:electron

cd electron-app
yarn start

Or launch the Start Electron Backend in the .vscode/launch.json file.

Watching for Changes

To rebuild the packages when there is changes, run lerna run --parallel watch in the project root. If you get the lerna: command not found error, try npx lerna run --parallel watch.

About

The Martini Designer Web browser ( That will take the UI similiar with Visual Studio Code using `theia` open-source )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages