Skip to content

Commit

Permalink
Add Heroku config
Browse files Browse the repository at this point in the history
Why these changes are being introduced:

We need a Procfile and app.json for our Heroku config.

Relevant ticket(s):

https://mitlibraries.atlassian.net/browse/ENGX-239

How this addresses that need:

This adds a Procfile and app.json with the initial settings we'll
need.

Side effects of this change:

None.
  • Loading branch information
jazairi committed Nov 20, 2023
1 parent 6a925ab commit d7e05b9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
release: bundle exec rails db:migrate
web: bundle exec puma -C config/puma.rb
26 changes: 26 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "timdex",
"stack": "heroku-22",
"scripts": {},
"env": {
"LINKRESOLVER_BASEURL": {
"required": false
},
"UNPAYWALL_EMAIL": {
"required": false
}
},
"formation": {
"web": {
"quantity": 1
}
},
"addons": [
"heroku-postgresql"
],
"buildpacks": [
{
"url": "heroku/ruby"
}
]
}

0 comments on commit d7e05b9

Please sign in to comment.