- Ruby version 3.0.0
- Postgres
-
Create database for tour_guide application.
-
Create a user in postgres
-
Give permission and password for the user
createdb -U tour_guide tour_guide_development
CREATE role tour_guide with createdb login password 'password_here';
GRANT ALL PRIVILEGES ON DATABASE "tour_guide_development" to tour_guide;