Skip to content

eclipsesource/theia-ai-exerciser-labcourse2024

Repository files navigation

theia-ai-exerciser-labcourse2024

License Header

/********************************************************************************
 * Copyright (c) 2024-2025 EclipseSource and others.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * https://www.eclipse.org/legal/epl-2.0, or the MIT License which is
 * available at https://opensource.org/licenses/MIT.
 *
 * SPDX-License-Identifier: EPL-2.0 OR MIT
 ********************************************************************************/

Running the browser example

yarn build:browser
yarn start:browser

or:

yarn build:browser
cd browser-app
yarn start

or: launch Start Browser Backend configuration from VS code.

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

Running the Electron example

yarn build:electron
yarn start:electron

or:

yarn build:electron
cd electron-app
yarn start

or: launch Start Electron Backend configuration from VS code.

Developing with the browser example

Start watching all packages, including browser-app, of your application with

yarn watch:browser

or watch only specific packages with

cd theia-ai-exerciser
yarn watch

and the browser example.

cd browser-app
yarn watch

Run the example as described above

Developing with the Electron example

Start watching all packages, including electron-app, of your application with

yarn watch:electron

or watch only specific packages with

cd theia-ai-exerciser
yarn watch

and the Electron example.

cd electron-app
yarn watch

Run the example as described above

Publishing theia-ai-exerciser

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