Skip to content

Instantly share code, notes, and snippets.

@sagarpanchal
Created October 21, 2018 20:59
Show Gist options
  • Save sagarpanchal/0f17c3a1aebc3fef957b5f9225b729ea to your computer and use it in GitHub Desktop.
Save sagarpanchal/0f17c3a1aebc3fef957b5f9225b729ea to your computer and use it in GitHub Desktop.
Run phoneGap on Ubuntu
#!/bin/bash
# cd to a directory where you want to install phoneGap
# and run following commands (or just download run this file with bash)
# https://github.com/phonegap/phonegap-app-desktop/commit/7a121fb96aef856cca36c6191778081e9d6317e5
# https://github.com/phonegap/phonegap-app-desktop/commit/5ad750815ddf51e6cc8e557f46afb455e288b92e
sudo apt-get install libgconf-2-4 &&
npm install -g grunt-cli &&
git clone 'https://github.com/phonegap/phonegap-app-desktop.git' &&
cd phonegap-app-desktop/ &&
npm install &&
grunt release
# You'll get the build inside build/PhoneGap-linux-x64 directory
cd build/PhoneGap-linux-x64
./PhoneGap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment