Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up for heroku after app creation? #935

Closed
ZASMan opened this issue Sep 6, 2018 · 3 comments
Closed

Set up for heroku after app creation? #935

ZASMan opened this issue Sep 6, 2018 · 3 comments

Comments

@ZASMan
Copy link

ZASMan commented Sep 6, 2018

Hi, in your readme it says to run suspenders app --heroku true on creation to set up an app easier for Heroku. However, I didn't do that when I started up a suspenders application, and now get the error KeyError: key not found: "SMTP_ADDRESS" when I try to deploy manually from the Heroku site. I'm wondering if it has something to do with not configuring it on startup? Thank you!

@vcavallo
Copy link

vcavallo commented Oct 3, 2018

@ZASMan See #930

@bhtabor
Copy link

bhtabor commented Nov 16, 2018

#First check ENV variables you need from config/environments/production.rb
#You need at least APPLICATION_HOST
heroku config:set APPLICATION_HOST=your-app.herokuapp.com

#Then add node for yarn install, skip if you have 'gem "webpacker", require: false' in Gemfile
heroku buildpacks:set heroku/ruby
heroku buildpacks:add --index 1 heroku/nodejs

#Then push to your heroku git remote, default - heroku, and run db migration
git push herku master
heroku run rails db:migrate

@thiagoa
Copy link
Contributor

thiagoa commented Oct 1, 2021

Closing this ticket because we already have this one to deal with Heroku issues:

#930

Thank you @ZASMan for opening it ❤️

@thiagoa thiagoa closed this as completed Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants