Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.18 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.18 KB

hackfoldr-mobile

Hackfoldr mobile version

The actual content of the app is under hackfoldr/www

##To run the app with ionic under hackfoldr/, run ionic serve It will run the app on browser using gulp with auto page refresh.

ionic emulate android will build the apk and start emulator for android. With settings properly setup.

##To build and run the app with cordova:

  1. Add android SDK to your PATH variable

e.g. $ echo $PATH

/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/mysql/bin:/Applications/Android Studio.app/sdk/tools:/Applications/Android Studio.app/sdk/platform-tools:/Applications/apache-ant-1.9.4/bin:/Applications/Android Studio.app/sdk

  1. cd /Users/user/Downloads/hackfoldr-mobile/hackfoldr

  2. $ cordova platform add android

  3. $ cordova build

  4. Then the apk file will be generated under hackfoldr/platforms/android/ant-build

  5. Start the Android emulator, then run $ cordova emulate android OR

    Start an emulator in Genymotion, dray the apk file to the emulator

Stack

Cordova (installed by NPM) Ionic (AngularJS) Gulp Apache Ant/ Gradle (TODO) Android SDK (Android studio)