All threads / How do I deploy Spree Commerce to Heroku?

Ask A Question

Notifications

You鈥檙e not receiving notifications from this thread.

How do I deploy Spree Commerce to Heroku?

wairaguedd asked in General

Who can direct me to a guide on how to deploy Spree Commerce to Heroku? I would really appreciate.

Hi, may I know what stage are you at right now with your application? Have you created a rails app following these instructions from the spree gem? https://github.com/spree/spree

If you have, where are you stuck specifically for the deployment to heroku?

In any case, if you follow the instructions from spree gem, you should be able to create your rails app locally. Then, follow the instructions here to deploye to heroku: https://devcenter.heroku.com/articles/getting-started-with-rails6

It should not be hard to deploy to heroku. If you have more questions feel free to ask. Good luck. 馃槉

Thanks Sheng for the advice. I'm actually reconsidering heroku as the best option. I have developed a spree commerce site on aws cloud9 and I'm looking for resources on how to deploy to production on aws(it could be ec2/Elastic Beanstalk or whatever service you recommend). Do you have any resources that could guide me through this?

Good to know you have experience with Spree.

As for guides on how to deploy to production on AWS, for Elastic Beanstalk, maybe can take a look here (https://www.codewithjason.com/deploy-ruby-rails-application-aws-elastic-beanstalk/). For ec2, try this (https://ogdenstudios.xyz/blog/how-do-i-deploy-a-rails-6-app-to-amazon-ec-2/)

Generally, Spree and rails are relatively the same thing. So instead of searching for Spree + whatever services, try searching for rails + whatever services. You may have more luck there.

Thanks Sheng. This is very helpful.

i deployed spree on heroku, but i found out i can't clone it into a repo! How do i edit files and make changes?

i actually did deploy spree using deploy button not through git push

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,106+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.