Business intelligence made simple
Added anomaly detection instructions for Heroku
Andrew Kane5a80950e4f5b
diff --git a/README.md b/README.mdindex 2412520d..972ebbcc 100644--- a/README.md+++ b/README.md@@ -325,6 +325,8 @@ anomaly_checks: trueIf upgrading from version 1.4 or below, also follow the [upgrade instructions](#15).+If you’re on Heroku, follow [these additional instructions](#anomaly-detection-on-heroku).+## Data SourcesBlazer supports multiple data sources :tada:@@ -363,6 +365,25 @@ Have team members who want to learn SQL? Here are a few great, free resources.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).+## Anomaly Detection on Heroku++Add the [R buildpack](https://github.com/virtualstaticvoid/heroku-buildpack-r) to your app.++```sh+heroku buildpacks:set --index 1 https://github.com/ankane/heroku-buildpack-r.git\#cedar-14+```++And create an `init.r` with:++```sh+if (!"AnomalyDetection" %in% installed.packages()) {+ install.packages("devtools")+ devtools::install_github("twitter/AnomalyDetection")+}+```++Commit and deploy away.+## Upgrading### 1.5