Last active
May 18, 2017 20:20
-
-
Save dmmfll/e2d3544015d0d407409f0071aca4c6cc 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
gist_url |
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 | |
# install google chrome | |
cd /tmp | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
# sublime | |
sudo apt-add-repository -y ppa:webupd8team/sublime-text-3 | |
sudo apt-get update | |
sudo apt-get -y install sublime-text-installer | |
# heroku | |
sudo apt-add-repository -y "deb https://cli-assets.heroku.com/branches/stable/apt ./" | |
curl -L https://cli-assets.heroku.com/apt/release.key | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get -y install heroku | |
# install ruby | |
sudo apt-add-repository -y ppa:brightbox/ruby-ng | |
sudo apt-get update | |
sudo apt-get install -y ruby2.4 ruby2.4-dev zlib1g-dev | |
# postgresql | |
sudo apt-get install -y postgresql | |
pgrep postgres | |
sudo apt-get install -y libsqlite3-dev nodejs libpq-dev | |
# sudo -u postgres createuser -dPs $(whoami) | |
sudo -u postgres psql -c "CREATE USER student WITH PASSWORD 'admin';" | |
# git | |
sudo add-apt-repository -y ppa:git-core/ppa | |
sudo apt-get update | |
sudo apt-get install -y git | |
git --version | |
name='Your Name' # type your actual name between the quotation marks | |
git config --global user.name "$name" | |
email='[email protected]' # type your actual email between the quotation marks | |
git config --global user.email "$email" | |
# rails | |
sudo gem install rails -N | |
sudo gem install rspec -N | |
sudo apt-get install -y libsqlite3-dev nodejs libpq-dev | |
cd ~/Desktop | |
curl -L http://bit.ly/verify-ubuntu > rspec_test.rb | |
rspec rspec_test.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment