-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readme: Add Node/Yarn step with instructions
- Loading branch information
1 parent
5e2a1f8
commit a263810
Showing
1 changed file
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,14 +158,30 @@ sudo apt install -y --no-install-recommends \ | |
|
||
2. Install cargo if not available <sup>([click here to see how](https://rustup.rs/))</sup> | ||
|
||
3. Clone this repository and enter it | ||
3. Install NodeJS greatar or equal than 19, and the latest Yarn: | ||
```Bash | ||
curl -fsSL https://deb.nodesource.com/setup_19.x \ | ||
| sudo -E bash - | ||
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg \ | ||
| gpg --dearmor \ | ||
| sudo tee /usr/share/keyrings/yarnkey.gpg \ | ||
>/dev/null | ||
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" \ | ||
| sudo tee /etc/apt/sources.list.d/yarn.list | ||
sudo apt-get update -y &&\ | ||
sudo apt-get install -y --no-install-recommends \ | ||
nodejs \ | ||
yarn | ||
``` | ||
|
||
4. Clone this repository and enter it | ||
|
||
```Bash | ||
git clone [email protected]:mavlink/mavlink-camera-manager.git | ||
cd mavlink-camera-manager | ||
``` | ||
|
||
3. Build it with cargo: | ||
5. Build it with cargo: | ||
|
||
```Bash | ||
cargo build | ||
|