Skip to content

Instantly share code, notes, and snippets.

@shivendrasoni
Last active October 13, 2015 16:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shivendrasoni/b588d9d7f57b5d2ad26f to your computer and use it in GitHub Desktop.
Save shivendrasoni/b588d9d7f57b5d2ad26f to your computer and use it in GitHub Desktop.
Build Setup bash
# IMPORTANT SHIT : A cat will die unless you read this.
# generate your ssh public key and add it to gitlab, github and your to your body as a tattoo
# ssh-keygen // to Generate ssh key
# cat ~/.ssh/id_rsa.pub // to print it to console
# fucking copy the above key and add it to ur git repo etc.
#
# sudo apt-get install autoconf automake autoheader -y;
sudo apt-get install build-essential -y;
#install sublime
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3;
sudo apt-get update; sudo apt-get install -y sublime-text-installer;
#install git;
sudo apt-get install git -y;
#install node;
sudo add-apt-repository ppa:chris-lea/node.js;
sudo apt-get update;
sudo apt-get install nodejs -y;
sudo npm update npm -g;
sudo chown $USER:$USER /home/$USER/.npm -R;
#install bower ;
sudo npm install bower -g;
#install ember ;
sudo npm install -g ember-cli@0.1.15;
#couch;
sudo apt-get install software-properties-common -y;
sudo add-apt-repository ppa:couchdb/stable -y;
sudo apt-get update -y;
sudo apt-get remove couchdb couchdb-bin couchdb-common -yf;
sudo apt-get install -V couchdb -y;
#required for our setup. hasMagic, glob, rimraf error;
sudo npm install -g rimraf rx glob -y;
#JDK required for IntelliJ IDE
sudo add-apt-repository ppa:webupd8team/java;
sudo apt-get update;
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections;
sudo apt-get install oracle-java8-set-default -y;
#RUBY 1.9.3 install
sudo apt-get install ruby 1.9.3;
gem install capistrano
#
# Customize according to your needs, biatch !
# HEED WITH CAUTION
#
mkdir ~/code;
cd ~/code;
git clone git@gitlab.com:opinio/pos-owner.git;
git clone git@gitlab.com:opinio/api.git;
git clone git@gitlab.com:opinio/pos-rnp.git;
cd ~/code/pos-owner;
git checkout shivendra;
npm i;
bower install;
cd ~/code/api;
git checkout shivendra;
npm i;
cd ~/code/pos-rnp;
git checkout shivendra;
npm i;
bower install;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment