Difference between revisions of "Ionic"

From Jon's Wiki
Line 7: Line 7:
 
  npm install -g cordova ionic
 
  npm install -g cordova ionic
  
Grab the Android SDK bundle:
+
Grab the [http://developer.android.com/sdk/ Android SDK] bundle:
  
 
  cd ~/projects
 
  cd ~/projects
  wget <nowiki>https://dl.google.com/android/adt/adt-bundle-linux-x86_64-xxxx.zip</nowiki> # from http://developer.android.com/sdk/
+
  wget <nowiki>https://dl.google.com/android/adt/adt-bundle-linux-x86_64-xxxx.zip</nowiki>
 
  unzip adt-bundle-linux-x86_64-[↹].zip
 
  unzip adt-bundle-linux-x86_64-[↹].zip
 
  mv adt-bundle-linux-x86_64-[↹] android
 
  mv adt-bundle-linux-x86_64-[↹] android

Revision as of 00:39, 23 November 2014

Installation

Following the Getting started guide[1] the install is:

sudo apt-get install npm openjdk-7-jdk ant
npm install -g cordova ionic

Grab the Android SDK bundle:

cd ~/projects
wget https://dl.google.com/android/adt/adt-bundle-linux-x86_64-xxxx.zip
unzip adt-bundle-linux-x86_64-[↹].zip
mv adt-bundle-linux-x86_64-[↹] android

Add the ADK tools to your PATH by editing ~/.bashrc:

export PATH=$PATH:/home/me/projects/android/platform-tools:/home/me/projects/android/sdk/tools

Try out hello world

ionic start hello tabs
cd hello


Links

Notes

  1. "Getting started with Ionic", Ionic Framework.