2014-09-08 08:56:06 -07:00
|
|
|
# Mobile building
|
|
|
|
|
|
|
|
## Requisites
|
|
|
|
* [Install Android SDK](https://developer.android.com/sdk/installing/index.html?pkg=tools)
|
|
|
|
* [Install XCode for IOS](https://itunes.apple.com/en/app/xcode/id497799835?mt=12)
|
|
|
|
* Install Cordova: ``sudo npm install -g cordova``
|
2014-09-23 08:30:10 -07:00
|
|
|
* Install Copay dependecies: ``bower install && npm install``
|
2014-09-08 08:56:06 -07:00
|
|
|
|
|
|
|
## Build the project
|
|
|
|
|
2014-09-23 08:30:10 -07:00
|
|
|
$ sh cordova/build.sh [--android]
|
2014-09-08 08:56:06 -07:00
|
|
|
$ cd cordova/project
|
|
|
|
$ cordova run android
|
2014-09-23 08:12:01 -07:00
|
|
|
$ cordova emulate ios
|
|
|
|
|
|
|
|
## Build for release
|
|
|
|
|
|
|
|
$ cordova build android --release
|