-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rails: Update PSQL Install instructions on macOS #29164
Comments
Just going through the lesson now to update MacOS to use Postgres.app and I see that Postgres.app sets up a "peer" role with trust authentication, that is to say, no password is required for local connections. This is contrary to the current Linux and macOS instructions where we guide learners to set up a password for their peer-authentication role. Because this lesson is about setting a local development environment, I feel that using the Should we instruct users to continue to set up a password for this role? Or should we also update the Linux instructions to set up local trust authentication and not bother with setting up a password in either scenario? |
Thanks for putting up this issue! Tagging @TheOdinProject/rails-path for thoughts |
The same change will be reflected for the node JS lesson as well, so I will have to look at that lesson and its subsequent ones just see if there are any changes required once the local |
Checks
Describe your suggestion
Currently, the macOS instructions for installing PSQL involve installing psql dependencies directly via
brew
. At the time of writing, I didn't have a good sense of the macOS ecosystem and assumed that was the best way to install PSQL and friends.Now that I've been working with macOS, it seems that there is a better way: https://postgresapp.com/
This install method nets us a few advantages:
psql
and friends likepg_dump
andpg_restore
) without much fuss.I think it's a much better way to manage PSQL on macOS. The project is open source and licensed under the same license as PSQL itself.
Additionally, I'd like to update the instructions so that we use at least N-1 of the current release (PSQL is officially on V17, but the macOS instructions are on v14).
Path
Ruby / Rails
Lesson Url
https://www.theodinproject.com/lessons/ruby-on-rails-installing-postgresql
(Optional) Discord Name
crespire
(Optional) Additional Comments
Spots to change/impacts:
trust
auth.The text was updated successfully, but these errors were encountered: