From 02ff7726517210a4e12f9f55057a45802e0d99a7 Mon Sep 17 00:00:00 2001 From: Mikena Wood Date: Sat, 30 Mar 2019 14:50:04 -0700 Subject: [PATCH 1/4] update app.json with some of the keys for review app --- app.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app.json b/app.json index 7e4dde03..f864c290 100644 --- a/app.json +++ b/app.json @@ -5,10 +5,13 @@ "postdeploy": "bundle exec rake db:setup" }, "env": { - "DATABASE_URL": { + "AKISMET_KEY": { + "required": true + }, + "BUGSNAG_API_TOKEN": { "required": true }, - "HEROKU_POSTGRESQL_CYAN_URL": { + "DATABASE_URL": { "required": true }, "DEVISE_SECRET_KEY": { @@ -20,6 +23,9 @@ "EMAIL_PASSWORD": { "required": true }, + "GOOGLE_MAPS_API_KEY": { + "required": true + }, "LANG": { "required": true }, From d7bfa25ecf5e428628c579ff0dc455ff68d312f9 Mon Sep 17 00:00:00 2001 From: Mikena Wood Date: Sat, 30 Mar 2019 15:03:27 -0700 Subject: [PATCH 2/4] remove the databse url, created by heroku --- app.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/app.json b/app.json index f864c290..17898001 100644 --- a/app.json +++ b/app.json @@ -11,9 +11,6 @@ "BUGSNAG_API_TOKEN": { "required": true }, - "DATABASE_URL": { - "required": true - }, "DEVISE_SECRET_KEY": { "required": true }, From c1676bb678bd10e6bdeb5341808721ef6189e886 Mon Sep 17 00:00:00 2001 From: Mikena Wood Date: Sat, 30 Mar 2019 15:16:13 -0700 Subject: [PATCH 3/4] change postdepoy to migrate --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 17898001..9b85f921 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,7 @@ "name": "refugerestrooms", "description": "refuge heroku app.json", "scripts": { - "postdeploy": "bundle exec rake db:setup" + "postdeploy": "bundle exec rake db:migrate" }, "env": { "AKISMET_KEY": { From b63fa1c54e4ecbc0ca5d10c40fffee812c29c961 Mon Sep 17 00:00:00 2001 From: Mikena Wood Date: Sat, 30 Mar 2019 16:15:08 -0700 Subject: [PATCH 4/4] update innocraft url --- app/views/layouts/_piwik_tag.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_piwik_tag.html.haml b/app/views/layouts/_piwik_tag.html.haml index cd5ac8a7..ecb64df3 100644 --- a/app/views/layouts/_piwik_tag.html.haml +++ b/app/views/layouts/_piwik_tag.html.haml @@ -5,7 +5,7 @@ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { - var u="https://refugerestrooms.innocraft.cloud/"; + var u="https://refugerestrooms.matomo.cloud/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];