Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve build instructions #706

Merged
merged 1 commit into from
Jan 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 23 additions & 13 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down