lbry-desktop/README.md

39 lines
1.1 KiB
Markdown
Raw Normal View History

2017-02-20 21:50:06 +01:00
# LBRY App
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
A decentralized content marketplace built on top of the [lbry protocol](https://github.com/lbryio/lbry)
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
Check out the [release page](https://github.com/lbryio/lbry-app/releases/latest) to get started.
2017-01-18 17:32:01 +01:00
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
## Development
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
This repo uses submodules, so clone it using --recursive
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
We do most of our development work on linux and macOS so we don't have
any instructions for creating a development setup on windows. You can
checkout out the build steps in [appveyor.yml](https://github.com/lbryio/lbry-app/blob/master/appveyor.yml) and probably figure out something from there.
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
### Setup
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
The
[lbrynet library](https://github.com/lbryio/lbry/blob/master/INSTALL.md) needs
to be installed along with pyinstaller. You also need to be
able to build the lbry-web-ui, so have node, webpack, etc installed.
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
### Build
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
run `./build.sh`
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
This builds the UI assets and puts them into `app/dist`. It also builds `app/dist/lbrynet-daemon`.
### Run
`./node_modules/.bin/electron app`
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
### Package
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
We use [electron-builder](https://github.com/electron-userland/electron-builder)
to create distributable packages, which is run by calling:
2017-01-16 20:06:53 +01:00
2017-02-20 21:50:06 +01:00
`node_modules/.bin/build -p never`