docs: update README.md

This commit is contained in:
Igor Gassmann 2018-03-25 14:11:16 -04:00 committed by Igor Gassmann
parent 2999ad4f6e
commit 87cb8731c8

View file

@ -39,40 +39,18 @@ development and testing purposes.
### One-time Setup ### One-time Setup
1. Clone this repo 1. Clone this repository
2. `DEPS=true ./build.sh` 2. Run `$ yarn`
This will download and install the LBRY app and its dependencies, including
[the LBRY daemon](https://github.com/lbryio/lbry) and command line utilities like `node` and `yarn`.
The LBRY app requires Node >= 7; if you have an earlier version of Node installed and want to keep
it, you can use [nvm](https://github.com/creationix/nvm) to switch back and forth.
#### Arch Linux and Other Non-Debian Distributions
Running the build script with `DEPS=true` triggers a bash script with `apt-get` specific commands.
If you are using a distribution without `apt-get`, try running the script as:
`./build.sh`
You may also have to install the package [libsecret](https://wiki.gnome.org/Projects/Libsecret) if
it is not already installed.
### Running ### Running
The app can be run from the sources using the following command: The app can be run from the sources using the following command:
`yarn dev` `$ yarn dev`
### On Windows
#### One-time Setup
Download the lbry daemon and CLI [binaries](https://github.com/lbryio/lbry/releases) and place them
in `static\daemon`.
### Build ### Build
Run `yarn build`. Run `$ yarn build`.
We use [electron-builder](https://github.com/electron-userland/electron-builder) to create We use [electron-builder](https://github.com/electron-userland/electron-builder) to create
distributable packages. distributable packages.