You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gaëtan Renaudeau
a0f765ab4f
|
7 years ago | |
---|---|---|
.circleci | 7 years ago | |
.storybook | 7 years ago | |
build | 7 years ago | |
flow-defs | 7 years ago | |
scripts | 7 years ago | |
src | 7 years ago | |
static | 7 years ago | |
webpack | 7 years ago | |
.babelrc | 7 years ago | |
.eslintrc | 7 years ago | |
.flowconfig | 7 years ago | |
.gitignore | 7 years ago | |
.prettierignore | 7 years ago | |
.prettierrc | 7 years ago | |
LICENSE | 7 years ago | |
README.md | 7 years ago | |
babel.config.js | 7 years ago | |
crowdin.yml | 7 years ago | |
electron-builder.yml | 7 years ago | |
jest.config.js | 7 years ago | |
package.json | 7 years ago | |
yarn.lock | 7 years ago |
README.md
Ledger Live - Desktop
⚠️ Disclaimer: this project is under active development. Use at your own risks.
Installation
Requirements
Project has been tested with
- NodeJS v9.3.0
- Yarn v1.3.0
- Python v2.7.10 (used by node-gyp to build native addons)
- You will also need a C++ compiler
Optional
Museo Sans
font - for Ledger guys, follow that link, downloadmuseosans.zip
and extract it inside thestatic/fonts/museosans
directory
Setup
- Install dependencies
yarn
- Create
.env
file
# ENV VARIABLES
# -------------
# Where errors will be tracked (you may not want to edit this line)
# SENTRY_URL=
# api base url
API_BASE_URL=http://...
# OPTIONAL ENV VARIABLES
# ----------------------
# Developer tools position (used only in dev)
# can be one of: right, bottom, undocked, detach
DEV_TOOLS_MODE=bottom
# Filter debug output
DEBUG=lwd*,-lwd:syncb
# hide the dev window
HIDE_DEV_WINDOW=0
Development commands
# Launch the app
yarn start
# Launch the storybook
yarn storybook
# Code quality checks
yarn lint # launch eslint
yarn prettier # launch prettier
yarn flow # launch flow
yarn test # launch unit tests
Building from source
# Build & package the whole app
# Creates a .dmg for Mac, .exe installer for Windows, or .AppImage for Linux
# Output files will be created in dist/ folder
yarn dist
Note: Use yarn dist:dir
to speed up the process: it will skip the packaging step. Handy for debugging builds. You can also use BUNDLE_ANALYZER=1 yarn dist:dir
to generate webpack-bundle-analyzer report.
License
The MIT License
Copyright (c) 2017-present Ledger https://www.ledgerwallet.com/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.