https://github.com/wb-ts/martini-designer
The Martini Designer Web browser ( That will take the UI similiar with Visual Studio Code using `theia` open-source )
https://github.com/wb-ts/martini-designer
Last synced: about 2 months ago
JSON representation
The Martini Designer Web browser ( That will take the UI similiar with Visual Studio Code using `theia` open-source )
- Host: GitHub
- URL: https://github.com/wb-ts/martini-designer
- Owner: wb-ts
- Created: 2021-12-16T06:49:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-07T20:59:38.000Z (almost 3 years ago)
- Last Synced: 2025-04-11T03:07:43.554Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://demo.torocloud.com/martini/online#!/
- Size: 1.82 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/creationix/nvm#install-script).
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](https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#prerequisites).
### 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:browsercd browser-app
yarn startOr launch the `Start Browser Backend` in the `.vscode/launch.json` file.
### Electron App
# only the first time
yarn theia rebuild:electroncd electron-app
yarn startOr 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`.