This section is based on this getting started from Ionic.io
npm install -g cordova ionic
cd ionic-tasklist/tasklist
npm install
To run a simulation just use the command ionic serve.
You can use the Responsive Design Mode of your browser if you have one to see the render on a specific device.
To compile and deploy on Android device you need to :
- Install android SDK (package
android-sdk) - Install some package with the package manager of your android SDK
- Install a Java Development Kit (JDK)
- Define environment variables
ANDROID_HOMEandJAVA_HOME - Put your device in debug mode
- Plug your device to your computer
- Run ionic command to compile and deploy
export ANDROID_HOME=$HOME/Android/Sdk
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
ionic run android --device
This part is not documented and need an upgrade. Feel free to contribute to the project on this purpose.