This is the Ionic version of the watchours project.
-
Before running this project ensure that you have installed cordova and ionic globally. If not, run this command
npm install cordova ionic -g
. -
Replace host addresses with your computer's IP addresses specifically in these files:
-
bin/www
-
app.js
-
www/js/services.js
-
-
Clone the project repo to a folder on your local computer.
-
cd
into the folder where you cloned the project. -
npm install
to install all node packages. -
bower install
to install all bower packages. -
To install cordova plugins
cordova plugin add <plugin-name>
. To get list of all cordova plugins, runcordova plugin list
command. Also here is a list of all Cordova plugins required for this project.-
cordova-plugin-app-event 1.2.0 "Application Events"
-
cordova-plugin-console 1.0.5 "Console"
-
cordova-plugin-device 1.1.4 "Device"
-
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
-
cordova-plugin-statusbar 2.2.1 "StatusBar"
-
cordova-plugin-whitelist 1.3.1 "Whitelist"
-
cordova-plugin-x-toast 2.6.0 "Toast"
-
de.appplant.cordova.plugin.local-notification 0.8.5 "LocalNotification"
-
ionic-plugin-keyboard 2.2.1 "Keyboard"
-
cordova-plugin-inappbrowser ""In-app browser
-
-
As this project is specifically built for android, I recommend running it on an Android device for best experience. However, the project can be built and run on an iOS device if you choose to do so.
-
To build for android,
ionic build android
. -
To deploy to android device,
ionic run android
.
NOTE: Make sure to keep the node server running while accessing the app. To start the server,
npm start
.
- To run the project on ionic-lab,
ionic serve --lab
.
The content of this repository is licensed under MIT.