From d52a50d512bb1486670e966febf5fb82622714fc Mon Sep 17 00:00:00 2001 From: Kris Khaira Date: Sat, 14 Oct 2017 03:04:22 +0800 Subject: [PATCH 1/2] Add missing ruby command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f21a679..0364109 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This will make it easier to get up and running with the app we build in the work 1. Create a Postgres database called `dry_rb_workshop_connection_test`. You can usually do this by running `createdb dry_rb_workshop_connection_test` on the command line. 2. Bundle this project: `bundle` -3. Run the connection check script: `bundle exec connection_test.rb` +3. Run the connection check script: `bundle exec ruby connection_test.rb` If the script prints "Postgres connection confirmed", then your database connection is fine and you should have no problems connection the workshop app to your databae. From ed4b23b67dd1477c9cb8926af5afcaecf93c3484 Mon Sep 17 00:00:00 2001 From: Kris Khaira Date: Sat, 14 Oct 2017 03:07:10 +0800 Subject: [PATCH 2/2] Fix typos --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0364109..175b196 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,6 @@ This will make it easier to get up and running with the app we build in the work 2. Bundle this project: `bundle` 3. Run the connection check script: `bundle exec ruby connection_test.rb` -If the script prints "Postgres connection confirmed", then your database connection is fine and you should have no problems connection the workshop app to your databae. +If the script prints "Postgres connection confirmed", then your database connection is fine and you should have no problems connecting the workshop app to your database. If the script fails for any reason, you may need to adjust either your Postgres setup, or the database connection URL (e.g. you may want to update `DATABASE_URL` in `connection_test.rb` to provide a username/password, if you've configured your Postgres installation to require authentication). Please continue to adjust things until the script can successfully connect.