Skip to content

Instantly share code, notes, and snippets.

@artursmirnov
Last active August 29, 2015 14:18
Show Gist options
  • Save artursmirnov/cdfcaa459c92e05a04c7 to your computer and use it in GitHub Desktop.
Save artursmirnov/cdfcaa459c92e05a04c7 to your computer and use it in GitHub Desktop.
Ember-CLI Bootstrap v2
#!/usr/bin/env bash
# prepare
sudo apt-get update
sudo apt-get install -y build-essential git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install -y libgdbm-dev libncurses5-dev automake libtool bison libffi-dev mc libfontconfig
# install nvm
curl https://raw.githubusercontent.com/creationix/nvm/v0.24.0/install.sh | bash
source ~/.profile
#install node.js and npm
nvm install v0.12.2
echo "nvm use 0.12.2" >> ~/.bashrc
source ~/.profile
# install ruby and rvm
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.1.2
rvm use 2.1.2 --default
# install compass
gem install compass
# install global npm packages
npm install -g bower
npm install -g phantomjs
npm install -g ember-cli
# create directories
mkdir ~/git
mkdir ~/git/fcr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment