Peerio mobile clients
git config core.ignorecase false
We use specifically node v4 (node v5 breaks the build)
npm install -g bower@1.6.5
npm install -g cordova@5.3.3
npm install bower-installer gulp -g -d
npm install -g ios-deploy # for MacOSX using sudo causes an error, removed
xcode-select --install # if you don't already have console tools for XCode you would need this line
npm install -d # install or update all packages
bower install
bower-installer
cordova platform add ios android # this will generate all the required project files for both platforms
sudo gem install github_changelog_generator
chmod a+x ./generate_changelog.sh ./release_android.sh
for the live development of peerio-client-api, the following should be done:
bower link # in peerio-client-api directory creates a link to the component named the same as dir name (peerio-client-api)
bower link peerio-client-api # in peerio-client-mobile directory creates a symbolic link to the upper dir
xwalk will not work without these permissions