Skip to content

Commit 9529e78

Browse files
authored
Improve build instructions (#706)
1 parent 51da3c0 commit 9529e78

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

BUILDING.md

+23-13
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,32 @@ The _frontend_ is running as an Electron renderer process and can invoke service
4040
## Build from source
4141

4242
If you’re familiar with TypeScript, the [Theia IDE](https://theia-ide.org/), and if you want to contribute to the
43-
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.
43+
project, you should be able to build the Arduino IDE locally.
44+
Please refer to the [Theia IDE prerequisites](https://github.com/theia-ide/theia/blob/master/doc/) documentation for the setup instructions.
4445

45-
### Build
46-
```sh
47-
yarn
48-
```
46+
Once you have all the tools installed, you can build the editor following these steps
4947

50-
### Rebuild the native dependencies
51-
```sh
52-
yarn rebuild:electron
53-
```
48+
1. Install the dependencies and build
49+
```sh
50+
yarn
51+
```
5452

55-
### Start
56-
```sh
57-
yarn start
58-
```
53+
2. Rebuild the dependencies
54+
```sh
55+
yarn rebuild:browser
56+
```
57+
58+
3. Rebuild the electron dependencies
59+
```sh
60+
cd electron-app
61+
yarn rebuild:browser
62+
cd ..
63+
```
64+
65+
4. Start the application
66+
```sh
67+
yarn start
68+
```
5969

6070
### CI
6171

0 commit comments

Comments
 (0)