Difference between revisions of "Ionic"

From Jon's Wiki
(Created page with "== Try out hello world == Using the Getting started guide<ref>[http://ionicframework.com/getting-started/ "Getting started with Ionic"], Ionic Framework.</ref> == Links == ...")
 
Line 1: Line 1:
 +
== Installation ==
 +
 +
Following the Getting started guide<ref>[http://ionicframework.com/getting-started/ "Getting started with Ionic"], Ionic Framework.</ref> 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 <nowiki>https://dl.google.com/android/adt/adt-bundle-linux-x86_64-xxxx.zip</nowiki>  # from http://developer.android.com/sdk/
 +
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 ==
 
== Try out hello world ==
  
Using the Getting started guide<ref>[http://ionicframework.com/getting-started/ "Getting started with Ionic"], Ionic Framework.</ref>
+
ionic start hello tabs
 +
cd hello
 +
 
  
 
== Links ==
 
== Links ==

Revision as of 00:37, 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  # from http://developer.android.com/sdk/
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.