Sign inSign up

tibbotech/tide

By tibbotech

•Updated over 4 years ago

Image
0

572

tibbotech/tide repository overview

⁠TIDETheia

The example of how to build the Theia-based applications with the TIDETheia.

⁠Getting started

Install nvm⁠.

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

Install npm and node.

nvm install 8
nvm use 8

Install yarn.

npm install -g yarn

⁠Running the browser example

yarn rebuild:browser
cd browser-app
yarn start

Open http://localhost:3000⁠ in the browser.

⁠Running the Electron example

yarn rebuild:electron
cd electron-app
yarn start

⁠Developing with the browser example

Start watching of TIDETheia.

cd TIDETheia
yarn watch

Start watching of the browser example.

yarn rebuild:browser
cd browser-app
yarn watch

Launch Start Browser Backend configuration from VS code.

Open http://localhost:3000⁠ in the browser.

⁠Developing with the Electron example

Start watching of TIDETheia.

cd TIDETheia
yarn watch

Start watching of the electron example.

yarn rebuild:electron
cd electron-app
yarn watch

Launch Start Electron Backend configuration from VS code.

⁠Publishing TIDETheia

Create a npm user and login to the npm registry, more on npm publishing⁠.

npm login

Publish packages with lerna to update versions properly across local packages, more on publishing with lerna⁠.

npx lerna publish
THEIA_DEFAULT_PLUGINS=local-dir://absolute-path-to-plugins-folder

⁠Building image

docker build . -t tide/tide

⁠Before running container

  • pull TIDEDesktopService repo
DEBUG_ADAPTER_PATH=/home/tibbo/tidetheia/external/TIDEDesktopService
LANG_SERVER_PATH=/home/tibbo/tidetheia/external/TIDEDesktopService/out/tibbobasicLanguageServer.js
TIDE_PLATFORMS_PATH=/home/tibbo/tidetheia/platforms/Platforms

⁠Running container

docker run -it -p 3000:3000 -p 3535:3535 -v ${TIDEWine_PATH}:/home/tibbo/.wine/ -v ${TIDEProjects_PATH}:/TIDEProjects/ -v ${TIDEDesktopService_PATH}:/home/tibbo/tidedesktopservice/ -e DEBUG_ADAPTER_PATH='/home/tibbo/tidedesktopservice/' -e LANG_SERVER_PATH='/home/tibbo/tidedesktopservice/out/tibbobasicLanguageServer.js' tide/tide

Tag summary

Content type

Image

Digest

Size

988.6 MB

Last updated

over 4 years ago

docker pull tibbotech/tide