From cb51966d2392005e3489d360328a28280e373032 Mon Sep 17 00:00:00 2001 From: Francesco Stasi Date: Mon, 20 Dec 2021 11:15:07 +0100 Subject: [PATCH] Improve build instructions --- BUILDING.md | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 27d1cbfe2..c902af1f9 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -40,22 +40,32 @@ The _frontend_ is running as an Electron renderer process and can invoke service ## Build from source If you’re familiar with TypeScript, the [Theia IDE](https://theia-ide.org/), and if you want to contribute to the -project, you should be able to build the Arduino IDE locally. Please refer to the [Theia IDE prerequisites](https://github.com/theia-ide/theia/blob/master/doc/) documentation for the setup instructions. +project, you should be able to build the Arduino IDE locally. +Please refer to the [Theia IDE prerequisites](https://github.com/theia-ide/theia/blob/master/doc/) documentation for the setup instructions. -### Build -```sh -yarn -``` +Once you have all the tools installed, you can build the editor following these steps -### Rebuild the native dependencies -```sh -yarn rebuild:electron -``` +1. Install the dependencies and build + ```sh + yarn + ``` -### Start -```sh -yarn start -``` +2. Rebuild the dependencies + ```sh + yarn rebuild:browser + ``` + +3. Rebuild the electron dependencies + ```sh + cd electron-app + yarn rebuild:browser + cd .. + ``` + +4. Start the application + ```sh + yarn start + ``` ### CI