sudo groupadd npmsudo usermod -a -G npm,staff $USERsudo apt-get updatesudo apt-get upgradesudo apt-get dist-upgrade(this one is optional)sudo apt-get -y install curl postgresql libpq-dev default-jre build-essential phantomjs nodejssudo apt-get -y install ack-grep vim libgnome2-bin(these are optional)curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -sudo apt-get install nodejssudo chown root:staff /usr/binsudo chmod 0775 /usr/binsudo chown -R root:npm /usr/lib/node_modulessudo chmod 0755 /usr/lib/node_modulestouch ~/.netrc && chmod 0600 ~/.netrcgpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3\curl -sSL https://get.rvm.io | bashrvm install 2.3.0rvm use 2.3.0 --defaultecho "gem: --no-ri --no-rdoc" > $HOME/.gemrcgem update --system 2.4.8gem install learn-cogem install phantomjsgem install pggem install sqlite3gem install bundlergem install railsnpm install -g protractorssh-keygen(ONLY DO THIS IF YOU DON'T ALREADY HAVE A GENERATED SSH KEY: just press return for everything, and don't enter a passphrase)cat ~/.ssh/id_rsa.pub, copy output, and add as ssh key on githublearn whoamiand enter oauth token when asked (from https://learn.co/<github_username>)- Install Chrome
curl "https://raw.githubusercontent.com/flatiron-school/dotfiles/master/irbrc" -o "$HOME/.irbrc"curl "https://raw.githubusercontent.com/flatiron-school/dotfiles/master/ubuntu-gitignore" -o "$HOME/.gitignore"curl "https://raw.githubusercontent.com/flatiron-school/dotfiles/master/linux_bash_profile" -o "$HOME/.bash_profile"(this will overwrite existing bash profile, so back up if you want to)curl "https://raw.githubusercontent.com/flatiron-school/dotfiles/master/linux_gitconfig" -o "$HOME/.gitconfig"thennano $HOME/.gitconfigand edit what needs to be edited (github username and github email in a few places)
Hi Logan:
I made some changes to this. Would you have time to review them? Thank you for providing such a great resource. https://gist.github.com/tracypholmes/9146a13a220dc4466082c7a2988383db