From b3b77ae73467f6256df6bb1728cd7456aa30020a Mon Sep 17 00:00:00 2001 From: JasonThomasData Date: Mon, 4 Jul 2016 14:27:02 +1000 Subject: [PATCH 1/2] Changed the readme to reflect changes to the database --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5499c25..d9601ef 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,9 @@ The user options are reflected in the URL, which means if a service provider fin - Gives the user a map link of doctor's location -#####The app will additionally do the following things +- Allows user to find their location using a button and the JavaScrip device location API -- Detects device location to search for doctors +#####The app will additionally do the following things - Detects browser's default language @@ -143,6 +143,8 @@ There isn’t any fancy backend to this yet, so you’ll just have to add Doctor >> phone_number: "02 9876 5432" >> ) +We've added some default contacts, the five we've currently got, to the db/seeds.rb file. This means that when the user runs rake db:setup, the database will already had the points of data declared in the seeds.rb file. + Note - name and address are required, phone_number and service_name can be dropped. ###Concerns and issues overcome @@ -172,4 +174,4 @@ This project is in the public domain, and is free from copyright. This is offere Ideally, we would like for this project to be copied/modified/repackaged etc in other situations that help people in some capacity. -We would appreciate a link. \ No newline at end of file +We would appreciate a link. From 4437808c9e74d06c959a6a15a132e1894814d413 Mon Sep 17 00:00:00 2001 From: JasonThomasData Date: Mon, 4 Jul 2016 14:31:52 +1000 Subject: [PATCH 2/2] One other thought to the readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d9601ef..aa9a993 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,9 @@ There isn’t any fancy backend to this yet, so you’ll just have to add Doctor >> phone_number: "02 9876 5432" >> ) -We've added some default contacts, the five we've currently got, to the db/seeds.rb file. This means that when the user runs rake db:setup, the database will already had the points of data declared in the seeds.rb file. +We've added some default contacts, the five we've currently got, to the ```db/seeds.rb``` file. This means that when the user runs rake ```db:setup```, the database will already had the points of data declared in the seeds.rb file. + +An improvement for the future may be to read issues from a spreadsheet to add records to the db from the ```db/seeds.rb``` file, and run ```rake db:setup``` each build. Note - name and address are required, phone_number and service_name can be dropped.