<commit_before># Setup a development environment

Preparation steps:

* Install Android Developer Tools
* Install Android target 19 SDK or higher (the Android newest SDK)
* Install Apache Ant

Global steps:

* Install nodejs (0.10.x+) + npm
* Install ruby
* `sudo gem install compass`
* Install Cordova
* `sudo npm install -g cordova`
* `sudo npm install -g cordova-media-generator`
* Install build tools
* `sudo npm install -g grunt-cli`
* `sudo npm install -g bower`

Steps in project directory `./flynn-book-scanner`:

* `cd app`
* `npm install`
* `bower install`
* `grunt`
# `grunt server` (open chrome with `open /Applications/Google\ Chrome.app --args --disable-web-security` to http://127.0.0.1:9000/#/)

# Setup a development environment

Steps in project directory `./flynn-book-scanner`:
* `cd app`
* `grunt`

For debugging in project directory `./flynn-book-scanner`:
* `cd app`
* `./node_modules/karma/bin/karma start`

open browser at http://localhost:8080

For windows phone support within an VM: http://blogs.msdn.com/b/interoperability/archive/2012/12/21/how-to-develop-for-windows-phone-8-on-your-mac.aspx


# Building & Deployment
* `cd app`
* `grunt`
* For first build on android run `android update project --path platforms/android/ -s` to set ADT project settings
* `cordova build android` or `cordova build ios`


For running on an android device execute:

* `cordova run android -d`

Please refer to the cordova setup guide regarding the android emulator configuration:
http://cordova.apache.org/docs/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide

Install HAXM for better emulator speed: https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
<commit_msg>Update App.md<commit_after># Setup a development environment

Preparation steps:

* Install Android Developer Tools
* Install Android target 19 SDK or higher (the Android newest SDK)
* Install Apache Ant

Global steps:

* Install nodejs (0.10.x+) + npm
* Install ruby
* `sudo gem install compass`
* Install Cordova
* `sudo npm install -g cordova`
* `sudo npm install -g cordova-media-generator`
* Install build tools
* `sudo npm install -g grunt-cli`
* `sudo npm install -g bower`

Steps in project directory `./flynn-book-scanner`:

* `cd app`
* `npm install`
* `bower install`
* `grunt`
# `grunt server` (open chrome with `open /Applications/Google\ Chrome.app --args --disable-web-security` to http://127.0.0.1:9000/#/)

# Setup a development environment

Steps in project directory `./flynn-book-scanner`:
* `cd app`
* `grunt`

For debugging in project directory `./flynn-book-scanner`:
* `cd app`
* `./node_modules/karma/bin/karma start`

open browser at http://localhost:8080

For windows phone support within an VM: http://blogs.msdn.com/b/interoperability/archive/2012/12/21/how-to-develop-for-windows-phone-8-on-your-mac.aspx


# Building & Deployment
* `cd app`
* `grunt`
* For first build on android run `android update project --path platforms/android/ -s` to set ADT project settings
* `cordova build android` or `cordova build ios`


For updating icons and splash screen. Update the files in media and run

* `mediagen`

For running on an android device execute:

* `cordova run android -d`

Please refer to the cordova setup guide regarding the android emulator configuration:
http://cordova.apache.org/docs/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide

Install HAXM for better emulator speed: https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

{'fraction_non_alphanumeric': 0.1165129924559933, 'fraction_numerical': 0.019558535903883765, 'mean_word_length': 4.3353204172876305, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '850521', 'n_tokens_mistral': 1223, 'n_tokens_neox': 1120, 'n_words': 375}