Business intelligence made simple
Added data sources section to readme
Andrew Kane4651265486b2
diff --git a/README.md b/README.mdindex f4d78cb2..f7c61d12 100644--- a/README.md+++ b/README.md@@ -160,8 +160,6 @@ smart_variables:The first column is the value of the variable, and the second column is the label.-## Results-### Linked ColumnsLink results to other pages in your apps or around the web. Specify a column name and where it should link to. You can use the value of the result with `{value}`.@@ -243,18 +241,26 @@ SELECT * FROM events WHERE started_at > ended_atThen create check with optional emails if you want to be notified. Emails are sent when a check starts failing, and when it starts passing again.-## Learn SQL--Have team members who want to learn SQL? Here are a few great, free resources.+## Data Sources-- [Khan Academy](https://www.khanacademy.org/computing/computer-programming/sql)-- [Codecademy](https://www.codecademy.com/courses/learn-sql)+Blazer supports multiple data sources :tada:-## Useful Tools+Add additional data sources in `config/blazer.yml`:-For an easy way to group by day, week, month, and more with correct time zones, check out [Groupdate](https://github.com/ankane/groupdate.sql).+```yml+data_sources:+ main:+ url: <%= ENV["BLAZER_DATABASE_URL"] %>+ # timeout, smart_variables, linked_columns, smart_columns+ catalog:+ url: <%= ENV["CATALOG_DATABASE_URL"] %>+ # ...+ redshift:+ url: <%= ENV["REDSHIFT_DATABASE_URL"] %>+ # ...+```-## Redshift+### RedshiftAdd [activerecord4-redshift-adapter](https://github.com/aamine/activerecord4-redshift-adapter) to your Gemfile and set:@@ -262,6 +268,17 @@ Add [activerecord4-redshift-adapter](https://github.com/aamine/activerecord4-redENV["BLAZER_DATABASE_URL"] = "redshift://user:password@hostname:5439/database"```+## Learn SQL++Have team members who want to learn SQL? Here are a few great, free resources.++- [Khan Academy](https://www.khanacademy.org/computing/computer-programming/sql)+- [Codecademy](https://www.codecademy.com/courses/learn-sql)++## Useful Tools++For an easy way to group by day, week, month, and more with correct time zones, check out [Groupdate](https://github.com/ankane/groupdate.sql).+## Upgrading### 1.0