Created
October 12, 2014 12:38
-
-
Save amadden80/d597b1e414939eacc6d7 to your computer and use it in GitHub Desktop.
Digital Ocean - Ruby & Postgresql
This file contains 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
sudo apt-get -y install ruby-dev | |
sudo apt-get -y install postgresql | |
sudo apt-get -y install postgresql-contrib | |
sudo apt-get -y install libpq-dev | |
sudo apt-get -y install build-essential | |
touch ~/.psql_history | |
sudo -u postgres createuser --superuser $USER | |
createdb $USER | |
gem install pg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment