Last active
August 29, 2015 13:55
-
-
Save bdunnette/8697224 to your computer and use it in GitHub Desktop.
Script to add Drupalgap to your Phonegap project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cordova platform add android | |
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git | |
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git | |
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git | |
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git | |
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git | |
cordova build | |
cd www | |
wget https://github.com/signalpoint/DrupalGap/archive/drupalgap_7.x-1.7-alpha.zip | |
unzip drupalgap_7.x-1.7-alpha.zip | |
mv DrupalGap-drupalgap_7.x-1.7-alpha/* DrupalGap-drupalgap_7.x-1.7-alpha/.gitignore . | |
cp app/default.settings.js app/settings.js | |
rm -Rf DrupalGap-drupalgap_7.x-1.7-alpha drupalgap_7.x-1.7-alpha.zip js css img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment