Skip to content

CS410-2015Fall/Group_17_Spoon-Feed-Me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Group_17_Spoon-Feed-Me

How To Install/View:

  1. Node.js (Node Package Manager npm should come with node install)
  2. Install ionic and cordova : "npm install -g cordova ionic"
  3. Clone repo
  4. Navigate to cloned folder
    • To view on the browser : "ionic serve"
    • To emulate on android : "ionic build android", "ionic run android"
      • You will need to install the Android SDK, then specify an AVD (Android Virtual Device) otherwise this won't work

Cordova Plugins

In order to run the app locally in your dev environment, you may need to install the plugins listed below. In order to do this, navigate to the root SpoonFeedMe ionic project folder, and run the following commands:

  • Text to speech: cordova plugin add cordova-plugin-tts
  • Whitelist: cordova plugin add cordova-plugin-whitelist
  • Voice Recognition cordova plugin add https://github.com/milestester/SpeechRecognitionPlugin
  • Insomnia (keeping screen on) cordova plugin add https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git

Running Unit Tests

Follow these steps to run the unittest suite in your dev environment:

  1. Navigate to root SpoonFeedMe ionic project folder
  2. Run the following command: bower install
    Note: I got a 'permission denied' error when I tried running the above. In case this happens to you, run the install as root: sudo bower install --allow-root
    Note 2: If you need to install bower, see: http://bower.io/
  3. Navigate to SpoonFeedMe/www/tests
  4. Run karma start unittests.conf.js

Adding New Unit Tests

As long as a unit test lives in the SpoonFeedMe/www/tests/unittests directory, it will run when you manually run the unit tests (see Running Unit Tests above) and in Travis.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •