-
-
Save sandeshdamkondwar/387a28af5cee06b81356 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Get the absolute path of the folder where this script exists. | |
curr_dir=`pwd` | |
dir=`dirname $0` | |
FILE_PATH=`cd $dir;pwd` | |
# Install node | |
apt-get install python-software-properties curl -y | |
add-apt-repository ppa:chris-lea/node.js-devel | |
apt-get update | |
apt-get install nodejs -y | |
ln -s /usr/include/nodejs /usr/include/node | |
# Ruby is required for isntalling SASS gem | |
apt-get install ruby | |
gem install sass | |
# Install grunt | |
npm install -g grunt-cli | |
# Go to repo directory and install node modules separately | |
cd $FILE_PATH/.. | |
npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment