Skip to content

Instantly share code, notes, and snippets.

@asksven
Last active April 2, 2016 21:18
Show Gist options
  • Save asksven/aab6b243469d4f65e87b to your computer and use it in GitHub Desktop.
Save asksven/aab6b243469d4f65e87b to your computer and use it in GitHub Desktop.
ionic-dev-va

// based on linux mint 17.3

/////////////////////////////////////////

// JAVASCRIPT & NODE DEV

/////////////////////////////////////////

// install nodejs, npm, cordova, ionic

sudo apt-get install curl

curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -

sudo apt-get install nodejs build-essential

sudo npm install -g cordova

sudo npm install -g ionic

// install visual studio code

// download VSCode from https://code.visualstudio.com/docs?dv=linux64 -> VSCode-linux-x64-stable.zip

cd ~/Downloads && mkdir ~/VSCode && unzip VSCode-linux-x64-stable.zip -d ~/VSCode && sudo ln -s ~/VSCode/VSCode-linux-x64/code /usr/local/bin/code

// install git

sudo apt-get install git

/////////////////////////////////////////

// MISC

/////////////////////////////////////////

// download and install chrome: https://www.google.com/intl/en/chrome/browser/desktop/index.html?platform=linux

// download android studio or android SDK

// Android Studio: http://developer.android.com/sdk/index.html#linux-bundle cd ~ && tar zxvf ~/Downloads/android-studio-ide-141.2456560-linux.zip

// or Android SDK: http://developer.android.com/sdk/index.html#Other cd ~ && tar zxvf ~/Downloads/android-sdk_r24.4.1-linux.tgz

// add path

echo "PATH=$PATH:/android-sdk-linux/platform-tools:/android-sdk-linux/tools:~/android-sdk-linux/build-tools/21.1.2/" >> ~/.bashrc

// run android and add whatever versions / packages you need

// test with cordova build

/////////////////////////////////////////

// DOCKER

/////////////////////////////////////////

// follow instructions here: https://docs.docker.com/linux/step_one/

curl -fsSL https://get.docker.com/ | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment