From 8c7ad4009a939f1a0355cf57ded523afd8518484 Mon Sep 17 00:00:00 2001 From: Akhil G Krishnan Date: Wed, 22 Dec 2021 22:34:20 +0530 Subject: [PATCH 1/3] App json added for review apps --- app.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 0000000000..c677b3e0e6 --- /dev/null +++ b/app.json @@ -0,0 +1,20 @@ +{ + "name": "MiruWeb", + "repository": "https://github.com/saeloun/miru-web", + "addons": [ + { + "plan": "heroku-postgresql:hobby-dev" + } + ], + "buildpacks": [ + { + "url": "heroku/nodejs" + }, + { + "url": "heroku/ruby" + } + ], + "scripts": { + "postdeploy": "bundle exec rails db:migrate" + } +} \ No newline at end of file From 868121364eb17475807392d5a9ba634949ffc437 Mon Sep 17 00:00:00 2001 From: Akhil G Krishnan Date: Wed, 22 Dec 2021 22:36:18 +0530 Subject: [PATCH 2/3] empty line added to eof --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index c677b3e0e6..c794f2d196 100644 --- a/app.json +++ b/app.json @@ -17,4 +17,4 @@ "scripts": { "postdeploy": "bundle exec rails db:migrate" } -} \ No newline at end of file +} From 6f0d26ac219cccd84cf3022f346ed518637fccb6 Mon Sep 17 00:00:00 2001 From: Akhil G Krishnan Date: Wed, 22 Dec 2021 22:39:01 +0530 Subject: [PATCH 3/3] seed added to scipt --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index c794f2d196..a6c41cceed 100644 --- a/app.json +++ b/app.json @@ -15,6 +15,6 @@ } ], "scripts": { - "postdeploy": "bundle exec rails db:migrate" + "postdeploy": "bundle exec rails db:migrate && bundle exec rails db:seed" } }