Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 2.28 KB

README.md

File metadata and controls

54 lines (33 loc) · 2.28 KB

LSCP iDevXXI App

This app is designed to perform experiments about language learning in babies. It will be composed of several mini games. For now, it's only one game, called Word Comprehension.

This app communicates with a back-office that receives and safely stores the experimental data.

  • Client: LSCP
  • Targeted platform: iPad with iOS 7.1 or newer

Mandy Say hi to Mandy!

Dependencies

  • The backend should have been deployed on a web server to allow sync.
  • Git
  • Node and npm (download)
  • Bower sudo npm install -g bower
  • Gulp sudo npm install gulp -g
  • Ruby sudo npm install ruby -g
  • sass gem install sass

Phonegap plugins used

You don't need to install them manually if you use Phonegap Build.

Local development setup

  • clone the repository (see instructions in CONTRIBUTE.md)
  • install all of the dependencies noted above
  • define your configuration settings in app/scripts/App.js (see app/scripts/App_sample.js)

Package and distribute

We do not package the app locally, but use PhoneGap Build instead.

Using command line

Define your configuration settings in gulpfile.js (see gulpfile_sample.js).

Run , to compile the app, upload it to PhoneGap Build, package it and download the packaged app file (by default idevxxi.ipa, in the project directory).

Note 2016-11-02: ran into error Cannot find module 'gulp-load-plugins' - which had already been the case in March 16, 2016. I did sudo npm install and then ran the compile again. That error disappeared but got bower missing; reinstalled it but still: Error: Bower components directory does not exist at app/bower_components

Manually

Run gulp build, which prepares the app for release and creates a zip archive (app.zip, in the project directory), then manually upload this archive to PhoneGap Build to package the app.

See PhoneGap Build documentation for more information.