Git Product home page Git Product logo

phonegap-app-desktop's Introduction

PhoneGap App Desktop Build status

Initial prototype of creating a desktop app for the PhoneGap CLI.

Getting Started

How To Build the PhoneGap App Desktop

  1. Make sure you have Git installed & setup; instructions can be found here.
  2. Make sure you have nodejs installed.
  3. install homebrew or update (if you already have homebrew installed) brew update
  4. install gcc, different methods listed below:
  5. using homebrew: 1. brew search gcc list available version of gcc 1. brew install gcc49 or brew install homebrew/versions/gcc49 depending on what is returned from the brew search gcc query (installs gcc version 4.9)
  6. command line without xcode: http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/
  7. using xcode: http://stackoverflow.com/questions/9353444/how-to-use-install-gcc-on-mac-os-x-10-8-xcode-4-4
  8. install wine brew install wine --devel (dev version is 1.7.32, the current stable version 1.6.2 caused a bunch of errors and did not work)
  9. you might be prompted to install XQuartz before you can complete the wine install.
  10. if libpng16.16.dylib is missing from usr/local/lib/, you can download it from one of the following places:
  11. clone the following project from Git https://github.com/anura-engine/anura.git and then copy anura/MacOS/dylibs/libpng16.16.dylib from your local repo and paste into usr/local/lib/
  12. clone the following project from Git https://github.com/jyr/MNPP.git and then copy MNPP/Library/png/lib/libpng16.16.dylib from your local repo and paste into usr/local/lib/
  13. install php5.5 brew install homebrew/php/php55 (was supposed to install libpng16.16.dylib but didn't for me...)
  14. install mono brew install mono
  15. add export MONO_GAC_PREFIX="/usr/local" to .bash_profile`
  16. reload .bash_profile by typing in . ~/.bash_profile
  17. install samba brew install samba
  18. Create a fork of the phonegap-app-desktop repository.
  19. Clone your fork of the repository.
  20. Navigate to project folder on your local machine.
  21. Follow instructions in the Setup section.
  22. Follow instructions in the Build Development Binaries section or the Build Release Binaries section.

Setup

# install grunt cli
$ [sudo] npm install -g grunt-cli

# install dev dependencies
$ npm install

Development

# watch src/ and compile to www/
$ grunt watch

Build Development Binaries

# builds development binaries & runs the app
$ grunt

note: the first build requires a second call to grunt.

Build Release Binaries

# builds release binaries & runs the app
$ grunt release

Run App

# runs app without building
$ grunt open

Opens the application located in:

  • OS X: build/PhoneGap/osx/PhoneGap.app
  • Windows: build/PhoneGap/win/PhoneGap.exe

phonegap-app-desktop's People

Contributors

hermwong avatar mwbrooks avatar codycodeman avatar garthdb avatar

Watchers

Ian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.