This workshop will be retired on May 1, 2025.
Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Rails and PostgreSQL in Production!
You have completed Rails and PostgreSQL in Production!
It's a good idea to test the database you'll use in production in your development environment first. Let's install PostgreSQL on your development system.
MacOS with Homebrew
brew install postgresql
brew services start postgresql
Ubuntu Linux
sudo apt-get install postgresql libpq-dev
sudo -u postgres createuser --superuser <your_dev_username>
Other OSes
Visit the postgresql.org downloads page and click the link to the binary package for your OS.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up