Prerequisite: Install NodeJS
- Install the Ionic Beta CLI:
npm install -g ionic@beta cordova
- Pull this repository
- From the repository's local directory, run
npm install
- To test out the app in your browser, run
ionic serve --lab
This app implements TDD through Jasmine Unit Testing. This is installed automatically when you perform the setup as shown above.
The unit testing spec file is present at /app/unit-test.spec.js. All unit tests are written in this file, and are rendered by Jasmine.
To run the test, simply run npm test
. A live-reloading browser window will open up with the unit tests.
- We have already made builds of the application for both iOS and Android for your convenience.
- Android:
- Ensure that your Android is configured to allow installations from unknown sources (this is usually found in settings -> security -> allow unknown sources)
- Download and install the APK from the latest release of the app
- iOS:
- Make sure you have xCode and all other necessary development tools installed on your mac
- You can find the xCode project for this app at [/platforms/ios](/platforms/ios]
- Open the project, and run the app from an emulator or your phone (top-right toolbar), if your environment is configured to do so