ionic-app
ionic-app copied to clipboard
Ionic RioBus mobile app
Rio Bus hybrid android app
This is the RioBus' geolocation app built with Ionic2 + TypeScript + Karma + Protractor.
Table of Contents
- Install Node.js
- Getting Started
- Run in browser
- Run in Android
- Run in iOS
- Run Unit Tests
- Run E2E
- Contribute
- Acknowledges
Install Node.js
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash # Mac or linux, follow the instructions
nvm install stable
Getting Started
- 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.
Run in browser
npm start # deploys the the browser
Run in Android
# make sure the Android device is connected and available to ADB
npm run android # deploys the app to an Android device
Run in iOS
# make sure the iOS device is connected
npm run ios # deploys the app to an iOS device
Run Unit Tests
npm test # run unit tests
Run E2E
# 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 e2e
Contribute
Issues and PRs are welcome, see the issues list.
Acknowledges
- This project started from @fmsouza's ionic2 seed