https://github.com/eclipsesource/theia-advanced-training
https://github.com/eclipsesource/theia-advanced-training
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eclipsesource/theia-advanced-training
- Owner: eclipsesource
- License: mit
- Created: 2022-04-05T06:55:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-05T09:19:15.000Z (over 4 years ago)
- Last Synced: 2026-01-13T18:26:45.860Z (7 months ago)
- Language: TypeScript
- Size: 203 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# backend
The example of how to build the Theia-based applications with the backend.
## Getting started
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 10
nvm use 10
Install yarn.
npm install -g yarn
## Running the browser example
yarn start:browser
*or:*
yarn rebuild: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 start:electron
*or:*
yarn rebuild: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
*or* watch only specific packages with
cd backend
yarn watch
and the browser example.
cd browser-app
yarn watch
Run the example as [described above](#Running-the-browser-example)
## Developing with the Electron example
Start watching all packages, including `electron-app`, of your application with
yarn watch
*or* watch only specific packages with
cd backend
yarn watch
and the Electron example.
cd electron-app
yarn watch
Run the example as [described above](#Running-the-Electron-example)
## Publishing backend
Create a npm user and login to the npm registry, [more on npm publishing](https://docs.npmjs.com/getting-started/publishing-npm-packages).
npm login
Publish packages with lerna to update versions properly across local packages, [more on publishing with lerna](https://github.com/lerna/lerna#publish).
npx lerna publish