Skip to content

Instantly share code, notes, and snippets.

@umar-webonise
Last active September 8, 2015 09:25
Show Gist options
  • Save umar-webonise/e995791e70652d245ef1 to your computer and use it in GitHub Desktop.
Save umar-webonise/e995791e70652d245ef1 to your computer and use it in GitHub Desktop.
Ionic Setup
# Install java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
# Install ubuntu-developer-tools-center
sudo add-apt-repository ppa:didrocks/ubuntu-developer-tools-center
sudo apt-get update
sudo apt-get install ubuntu-developer-tools-center
# Install andriod Studio and SDK
https://launchpadlibrarian.net/194227238/android.py.patch
udtc android
# Add below line in Bashrc file
export ANDROID_HOME=/home/webonise/Android/Sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
# Ionic Setup Basic Steps
npm install -g cordova ionic
ionic start myApp tabs
cd myApp
ionic platform add ios
ionic build ios
ionic emulate ios
place where apk are stored on build
/home/webonise/POC/ionic/myApp/platforms/android/build/outputs/apk/android-debug.apk
Working with SCSS
http://ionicframework.com/docs/cli/sass.html
http://ionicframework.com/docs/guide/
http://ionicframework.com/docs/
sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-java8-installer && sudo add-apt-repository ppa:didrocks/ubuntu-developer-tools-center && sudo apt-get update && sudo apt-get install ubuntu-developer-tools-center && udtc android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment