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:
- 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
-
cd /Users/user/Downloads/hackfoldr-mobile/hackfoldr
-
$ cordova platform add android
-
$ cordova build
-
Then the apk file will be generated under hackfoldr/platforms/android/ant-build
-
Start the Android emulator, then run $ cordova emulate android OR
Start an emulator in Genymotion, dray the apk file to the emulator
Cordova (installed by NPM) Ionic (AngularJS) Gulp Apache Ant/ Gradle (TODO) Android SDK (Android studio)