This repository contains the code that is based on the IONIC framework.
- Install NodeJS from https://nodejs.org/
npm cache clean
Clean up some leftovers, may not be required always but doesn't hurtnpm install -g ionic cordova bower gulp
Installs Ionic+Cordova, Bower and Gulpgit clone https://gitlab.com/truth86/BabyCare.git
Strongly suggested to clone into C:\ or similar so you end up with C:\cleverbaby or a similar very SHORT path (long paths will often causenpm install
to fail on windows since some dependencies will end up in subfolders that are longer than 256 characters)- CD into the project directory and continue with the below:
npm install
(in the repository)bower install
ionic serve
at this point you should see app running in the desktop browserionic state restore
this will install all cordova platforms (Android/iOS) and plugins so you can test on emulator/real devicesionic run android
this will run the app in the Android Emulator (if you have the Android SDK installed) or on an Android phone connected to your PC
npm install -g appium protractor
installs protractor and appiumappium-doctor
(to check everything is setup correctly)
- Install NodeJS
- Install Cordova
sudo npm install -g cordova
- Install Ionic
sudo npm install -g ionic
- Install Bower
sudo npm install -g bower
- Clone Git Repo
ionic state restore
bower install
ionic emulate ios
orionic run ios
Copyright (c) 2015 Anatoly Sokolov.