This is the repo for the Focus cross-platform mobile app.
##Setup
Install NodeJS and run npm install -g cordova ionic bower gulp from command line (you might want to run this command with sudo on Linux/Mac depending on your setup).
$ git clone git@github.com:andybb/focus-app
$ cd focus-app
$ npm install
$ bower install##Serve the app locally
$ ionic serveThe app should be available at http://localhost:8100 with livereload.
##Run on devices
$ [sudo] npm install -g ios-sim
$ ionic platform add ios
$ ionic build ios
$ ionic emulate iosMake sure you install and configure the dependencies as described in this guide, especially the Windows note on Java, Ant and Android.
Install Genymotion if you want a faster emulator than the default one included in the Android SDK. Otherwise, replace ionic run with ionic emulate below:
$ ionic platform add android
$ ionic build android
$ ionic run android