2021-02-26 00:11:20 +01:00
|
|
|
This repository contains the source for the Platypush mobile app. As of now only Android is supported.
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
To build the app you'll need `npm` and Android.JS Builder installed on your system:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
[sudo] npm install -g androidjs-builder
|
|
|
|
```
|
|
|
|
|
|
|
|
Then install the JS requirements through `npm` from the repository root directory:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
2021-02-28 00:46:51 +01:00
|
|
|
Debug mode:
|
|
|
|
|
2021-02-26 00:11:20 +01:00
|
|
|
```shell
|
|
|
|
npm run build
|
|
|
|
```
|
|
|
|
|
2021-02-28 00:46:51 +01:00
|
|
|
Release mode:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
npm run build:release
|
|
|
|
```
|
|
|
|
|
2021-02-26 00:11:20 +01:00
|
|
|
The generated `.apk` file will be stored under `dist/`.
|
|
|
|
|