added npm instructions
This commit is contained in:
parent
9ed8a67c5c
commit
297b2e0826
1 changed files with 4 additions and 0 deletions
4
BUILD.md
4
BUILD.md
|
@ -8,6 +8,8 @@ While these instructions are for Ubuntu 16.04, the same steps have also been con
|
||||||
* Android SDK
|
* Android SDK
|
||||||
* Android NDK
|
* Android NDK
|
||||||
* Buildozer
|
* Buildozer
|
||||||
|
* Node.js
|
||||||
|
* npm
|
||||||
|
|
||||||
#### Apt Packages
|
#### Apt Packages
|
||||||
Based on the quickstart instructions at http://buildozer.readthedocs.io/en/latest/installation.html
|
Based on the quickstart instructions at http://buildozer.readthedocs.io/en/latest/installation.html
|
||||||
|
@ -56,6 +58,8 @@ Assuming `lbry-android` as the current working folder:
|
||||||
| p4a.local_recipes | Path to a folder containing python_for_android recipes to be used in the build. The included `recipes` folder includes recipes for a successful build |
|
| p4a.local_recipes | Path to a folder containing python_for_android recipes to be used in the build. The included `recipes` folder includes recipes for a successful build |
|
||||||
|
|
||||||
#### Build and deploy the APK
|
#### Build and deploy the APK
|
||||||
|
Run `npm i` in the `lbry-android/app` folder to install the necessary modules required by the React Native user interface.
|
||||||
|
|
||||||
Run `./build.sh` in `lbry-android` to build the APK. The output can be found in the `bin` subdirectory.
|
Run `./build.sh` in `lbry-android` to build the APK. The output can be found in the `bin` subdirectory.
|
||||||
|
|
||||||
To build and deploy, you can run `./deploy.sh`. This requires a connected device or running Android emulator.
|
To build and deploy, you can run `./deploy.sh`. This requires a connected device or running Android emulator.
|
Loading…
Reference in a new issue