Compile, build and publish over FTP a Cordova mobile app for wireless distribution.
- What is "Distribute"?
- Installation
- Command line usage
- Configuration
init
commandcordova
commandangular
commandwd
commandresources
commandserve
command
Mobile App Distribution is a command line tool for distributing a Cordova mobile app or an Angular 2+ app over (S)FTP to allow its download and deploy over the air and. It also have many command for icons and splashes generation, a local server creation, and so on.
To make distribute
command line available in your system you'll need to install mobile-app-distribution globally first. You can do that with the following command:
$ npm install mobile-app-distribution -g
You should be now able to run distribute
via terminal with the following command:
$ distribute
Distribute tools have multiple commands to cover all aspects of mobile app distribution:
$ distribute init
: The utility asks some questions in order to create the config file for distribution process.$ distribute cordova
: The utility launches all tasks for compiling, building and uploading a Cordova mobile app$ distribute angular
: The utility launches all tasks for building, deploing and uploading a Angular app$ distribute wd
: The utility creates thewd
directory to upload on your FTP remote repository for the OTA installations$ distribute resources
: The utility generate iOS and Android icons and splash from one single icon and one single splash$ distribute serve
: The utility create a local host to test website or webapp$ distribute ios
: [Coming soon...] The utility launches all tasks for building and uploading an iOS mobile app$ distribute android
: [Coming soon...] The utility launches all tasks for building and uploading an Android mobile app$ distribute flutter
: [Coming soon...] The utility launches all tasks for building and uploading a Flutter mobile app
To see the installed version number run the following command:
$ distribute --version
To see general help menu and available commands run the following command:
$ distribute --help
To use distribute
command you'll need to create a distribute.json
first; you could fine some examples for Cordova and Angular distributions in examples
directory.
Some sections in distribute.json
, like app
or buildDir
, are shared between distributions process, while others are specific for a single distribution type process.
This utility asks some questions to user and create the distribute.json
file for make builds.
All docs in Init README.
This utility launches all tasks for compiling, building and uploading a Cordova mobile app.
All docs in Cordova README.
The utility launches all tasks for building, deploing and uploading a Angular app.
All docs in Angular README.
This utility creates a new folder called wd
that contains all files for wireless distribution repository, ready to manually upload on FTP repo.
All docs in Wireless Distribution README.
This utility creates icons and splashes for iOS and Android platforms from one icon and one splash.
All docs in Resources README.
This utility creates and starts a local web server to test every single page application, like a Cordova www
folder.
All docs in Serve README.