This is the RioBus' geolocation app built with Ionic2 + TypeScript + Karma + Protractor.
- Install Node.js
- Getting Started
- Run in browser
- Run in Android
- Run in iOS
- Run Unit Tests
- Run E2E
- Contribute
- Acknowledges
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash # Mac or linux, follow the instructions
nvm install stable- Clone this repository.
- Install the ionic CLI and Cordova CLI (
npm install -g ionic cordova) - Run
npm installfrom the project root. - Run
npm startin a terminal from the project root. - Profit.
Note: Is your build slow? Update npm to 3.x: npm install -g npm.
npm start # deploys the the browser# make sure the Android device is connected and available to ADB
npm run android # deploys the app to an Android device# make sure the iOS device is connected
npm run ios # deploys the app to an iOS devicenpm test # run unit tests# e2e (aka. end-to-end, integration) - In two different shell windows
# Make sure you don't have a global instance of Protractor
npm start
npm run e2eIssues and PRs are welcome, see the issues list.
- This project started from @fmsouza's ionic2 seed