Differences between revisions 4 and 5
Revision 4 as of 2015-05-30 11:15:32
Size: 1005
Editor: PieterSmit
Comment:
Revision 5 as of 2015-05-30 14:19:41
Size: 1386
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
      * sudo chown -R $(whoami) ~/.npm
Line 23: Line 24:
   1.

   1. ionic start kyr2015 blank
      * Output
        {{{
            Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
            Downloading: https://github.com/driftyco/ionic-starter-blank/archive/master.zip
        }}}
      * ionic platform add android
      * ionic --help
      * ionic serve #Dev in browser

Cordova a.k.a. PhoneGap

  • Cordova is a mobile develepment framework, builing a mobile app with web technologies (js + html + css) and then deploying to multiple platforms.

Notes on starting a Cordova project

Ubuntu/Linux, environment

  1. npm - javascript environment node.js  sudo apt-get install npm 

  2. cordova  npm install -g cordova 

    • Doing this as normal user gave some errors, created dir and gave user right.  sudo mkdir /usr/local/lib/node_modules 

  3. java environment
    • sudo apt-get install nodejs-legacy
      sudo apt-get install default-jre
      sudo apt-get install  default-jdk
  4. android build environment. download from google android-sdk_r24.0.2-linux.tgz (134M)
    • BIT VAGUE, needed to launch and download android versions 19/22 ???
  5. npm install -g ionic
    • sudo chown -R pes.pes /usr/local/lib/node_modules/ionic
    • sudo chown -R $(whoami) ~/.npm

New Project

  1. ionic start kyr2015 blank
    • Output
      •             Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip 
                    Downloading: https://github.com/driftyco/ionic-starter-blank/archive/master.zip
    • ionic platform add android
    • ionic --help
    • ionic serve #Dev in browser

...

Cordova (last edited 2015-05-30 14:19:41 by PieterSmit)