I tried to create app on heroku with Deploy on Her...
# developers
s
I tried to create app on heroku with Deploy on Heroku button from the repo doc. But I’m getting error on configuration setup. I’ve cross checked the postgresql plans and confirming that “hobby-dev” plan is no longer listed at https://elements.heroku.com/addons/heroku-postgresql#details. So we need to update the plan with
heroku-postgresql:mini
on our app.json file.
"addons": [
{
"plan": "heroku-postgresql:mini"
}
],
Also noticed one issue related to the optional fields on the templates, like SENDGRID_EMAIL, SENDGRID_SYNC_API_KEY. by default required will be
true
, so we need to set required to
false
in our app.json file Please let me know if you have any questions. Currently I’m stuck at this point. So please fix these simple items on the template file app.json. Thanks in advance
p
@Ali can you investigate if our docs for heroku are out of date?
both in readme and in gitbook. we should likely remove them from readme and link to gitbook
so we only have one source of truth
s
If you want, I can share my app.json file
@Ali @Peer
a
Which plan are you using @stZ4cAMRiyZE?
s
I’m using my company’s account
a
I meant, which plan among heroku are you using?
s
I’m not sure which plan we are I don’t have access to billing details
Dyno units 20 / month
Here it is
a
Okay, cheers. I'll try to see what's going on, keep you posted. Thanks for the info 🙏
s
again, if you want, I can send the app.json file with edits as I suggested
app.json
p
awesome! wanna raise a PR?
s
I’m not sure about the PR procedure Will do next time Currently I need to get this updated ASAP 🙂 So that I can start deploy on Heroku
a
Just confirming, @stZ4cAMRiyZE the heroku deployment is still failing, correct?
s
Yes, please check the screenshot on original post
BTW I didn’t tried it again yet
a
Yeah, it's on my to-do list for today 🙂
s
Thank you very much 🙏
a
Hey, I followed exactly the steps mentioned in the github page, and it works just fine for me. I'm also adding new docs for the flow. I wonder why you're facing issues now, as I was able to follow the steps point to point and it was a breeze for me 🤔
I'll share the docs here once ready 🙏
s
@Ali Are you using “Deploy on Heroku” link from the github doc? or manually creating the app in Heroku?
Please note that, I’m getting the error when I’m trying cal.com template for Heroku
a
Okay, gotcha!
I think we'll probably end up removing it or updating it
s
Please update it, so that I can move forward :)
a
Just to confirm, is using the regular steps to set it up not a viable option? As that would be the quickest
From what I concur with the team, we might be opting to remove the template for now
s
hmm
So clone it locally and add it to Heroku? Is that you are suggesting?
It would be super easy if we could just update the application template, isn’t?
a
The thing is, it isn't super straightforward and we don't really have a priority for updating it at this stage.
s
again, I’ve already shared the updated app.json file, I’m sorry, we could directly update in the repo, isn’t?
Is there any difficulties in there to update the app.json file with the one I’ve shared with? I’m just checking
a
I'm not entirely sure if that's enough to sort it. If it is, I'll get it merged 🙏
s
I’m sure about it, If you can merge it, I can test it with our account and confirm
a
Okay. I'll test it out and let you know with the update. 🙏
s
Thank you very much
a
I have raised a PR, please be sure to keep an eye on it for updates and further requests regarding the matter: https://github.com/calcom/cal.com/pull/6879 🙏
s
Thank you