Creating a Mobile App for your WordPress-based Business using Ionic Framework (HTML5, CSS3, Cordova).
####1. Node.js and npm installed. I recommend using nvm. I used nvm v0.31.0, node v4.4.2 & npm 2.14.7
xcode-select --install
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
nvm install 4.2.2
####2. Install Ionic
npm install -g cordova ionic
# iOS Setup Steps
npm install -g ios-sim
# download & install XCode
####3. Test, Build, Simulate
ionic serve
ionic platform add ios ionic platform add android
ionic build
ionic emulate
ionic run
ionic package
ionic --help or ionic docs
### Changelog
#### Version 1.2.0
> Online Wordpress Demo (Lazada-style)
> Build with IBM MobileFirst --> iOS & Android Native
> Improvement: SaaS, Font Icons, Maps
> Documentation
#### Version 1.1.1
1st Initial
```bash
# Start a project
ionic start ionic-wordpress sidemenu
# Setup this project to use Sass:
npm install -g gulp
ionic setup sass
sudo chmod -R 777 '/Users/YourName/.config/configstore/update-notifier-cordova.json'
iOS:
Android: http://developer.android.com/sdk/index.html#Other
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home export ANT_HOME=/Library/Java/apache-ant-1.9.7 export ANDROID_HOME=/Library/Java/Android/sdk export PATH="/usr/local/mysql/bin:/bin:/usr/bin:/usr/local/bin:$ANT_HOME/bin:$JAVA_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH"
$ cd ionic-wordpress $ android $ android sdk $ android avd HINT: For a faster emulator, use an Intel System Image and install the HAXM device driver