-
Notifications
You must be signed in to change notification settings - Fork 345
Onboarding:Linux:All
You should install a Node version manager, because you will regularly need to switch between node versions with Live. Some recommand NVM, others recommand N
You need to install Yarn, a node packet manager used by Live.
npm install --global yarn
To be able to use executable installed from yarn, you will need to modify pour $PATH variable (more info) :
- Open your .bashrc with your favorite editor, ex:
nano ~/.bashrc
- Add this line to the end of it :
export PATH="$PATH:$(yarn global bin)"
The code editor used by the majority of developers in the Ledger Live team is Visual Studio Code. You can install it using this guide : https://code.visualstudio.com/docs/setup/linux
As an alternative, you can install Webstorm or VSCodium.
First, you need to install theses packages :
- libudev and libusb to communicate with the devices on your system, in our case the Nano.
- ruby and ruby-dev to install Bundler.
sudo apt-get update && sudo apt-get install libudev-dev libusb-1.0-0-dev ruby-dev ruby
Then you need to install bundler, that will be used to install gem packages
sudo gem install bundler
You need to set up udev rules :
Go see: ledger support doc
Or directly do: wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bash
Linux uses the inotify package to observe filesystem events, individual files or directories.
Since React / Angular hot-reloads and recompiles files on save it needs to keep track of all project's files. Increasing the inotify watch limit should hide the warning messages.
# insert the new value into the system config
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
# check that the new value was applied
cat /proc/sys/fs/inotify/max_user_watches
- Ledger Live Desktop
- Ledger Live Mobile
-
Ledger Live Common
- Introduction
- Currency Models
- Currency Bridge
- Account
- Account Bridge
- apps
- appsCheckAllAppVersions
- ledger-live bot
- Canonical Ways to Investigate Bugs
- Coin Integration Introduction
- Countervalues
- Packages Duplicates
- Derivation
- Developing with CLI
- Developing
- Gist Firmware Update
- Gist Transaction
- Hardware Wallet Logic
- Socket
- Assorted tips
- Integration Tests
- Process
- Monorepository Migration Guide
- Issues, Workaround and Tricks
- Common CI Troubleshooting
- Create staging builds using the CI
- Deprecated