- Run
npm install
from the root of this project to set up the project dependencies cd
into thewww
folder and runnpm install
for the app dependenciescd ..
back to the root and runnpm run reload
to start up the live reload server for live code updates- Run
electron www
from the root folder orelectron .
from thewww
folder
NOTE: Steps 1 & 2 only need to be done if you've never run a local build or when the dependencies are updated.
install the latest XCode from the Mac App Store
# install grunt cli
$ [sudo] npm install -g grunt-cli
# install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# install xQuartz
brew install Caskroom/cask/xquartz
# install wine
brew install wine --devel
# install mono
brew install mono
# add export MONO_GAC_PREFIX="/usr/local" to.bash_profile`
# reload .bash_profile by typing in:
. ~/.bash_profile
#install samba
brew install homebrew/boneyard/samba
# install dev dependencies
$ npm install
# Create a fork of the phonegap-app-desktop repository.
# Clone your fork of the repository.
# Navigate to project folder on your local machine.
# Follow instructions in the Build Commands section.
# install grunt cli
$ npm install -g grunt-cli
# install dev dependencies
$ npm install
# Create a fork of the phonegap-app-desktop repository.
# Clone your fork of the repository.
# Navigate to project folder on your local machine.
# Follow instructions in the Build Commands section.
Once the build is complete, you will need to navigate to
/build/PhoneGap-win32-ia32/resources/app.asar.unpacked/bin
and follow the
instructions in the Installation for Windows section.
# builds development version
grunt
# builds release version
grunt release
If you are using the zip file to run the Desktop App, you will need to run the
postInstall.bat
file to install the required dependencies. The file is in
PhoneGap-win32-ia32/resources/app.asar.unpacked/bin
. Right click on the file
and select "Run as administrator", once the script has finished running you will
be able to use the app.