spree_starter icon indicating copy to clipboard operation
spree_starter copied to clipboard

Please guide to run a production build for the same

Open argoyal opened this issue 3 years ago • 17 comments

The documentation is missing crucial components on how to setup a production server. Can you please incorporate it in the documentation? For now, can someone guide me how to setup a production build using the same system.

argoyal avatar Aug 31 '21 07:08 argoyal

I couldn't even setup my local server in my Macbook with M1 chip. https://github.com/spree/spree_starter/issues/968

were you able to setup locally?

linktoming avatar Aug 31 '21 08:08 linktoming

Yes I was able to set it up locally. @linktoming

argoyal avatar Aug 31 '21 11:08 argoyal

Yes I was able to set it up locally. @linktoming

thanks, by way of docker (didn't work for me) or adding it to an existing rails app (worked for me as well)?

linktoming avatar Aug 31 '21 12:08 linktoming

worked both ways.

argoyal avatar Aug 31 '21 15:08 argoyal

@argoyal this repo is pre-configured to run flawlessly on Heroku - I would recommend reading https://dev-docs.spreecommerce.org/deployment/heroku and https://devcenter.heroku.com/articles/getting-started-with-rails6

damianlegawiec avatar Sep 04 '21 19:09 damianlegawiec

@argoyal Please check setup-without-docker branch. You can just follow any rails production deployment guidelines.

moonstruck avatar Sep 05 '21 13:09 moonstruck

@argoyal Please check setup-without-docker branch. You can just follow any rails production deployment guidelines.

This branch does not exist @moonstruck

argoyal avatar Sep 06 '21 07:09 argoyal

@argoyal this repo is pre-configured to run flawlessly on Heroku - I would recommend reading https://dev-docs.spreecommerce.org/deployment/heroku and https://devcenter.heroku.com/articles/getting-started-with-rails6

Sure thing @damianlegawiec.

argoyal avatar Sep 06 '21 07:09 argoyal

@damianlegawiec I think it would be good if we get this documented would help a lot of people.

argoyal avatar Sep 06 '21 07:09 argoyal

@argoyal Please check setup-without-docker branch. You can just follow any rails production deployment guidelines.

This branch does not exist @moonstruck

This has been merged into main branch. Commit

moonstruck avatar Sep 06 '21 12:09 moonstruck

I am receiving the following error log (attached the log file) when I am trying to run this setup as a production build. Can you please help me understand where I might be going wrong because my team has been scratching their head over this. error_log.txt

@damianlegawiec @moonstruck

argoyal avatar Sep 07 '21 20:09 argoyal

@argoyal I'll take a look and feedback you tomorrow.

moonstruck avatar Sep 07 '21 20:09 moonstruck

@moonstruck any updates on this?

argoyal avatar Sep 12 '21 13:09 argoyal

@msshahanshah figured out a fix for this. apparently it was due to a missing gem which is a required dependency for production builds. Mustafa, you can share details, if I did not cover the entire context.

argoyal avatar Sep 17 '21 07:09 argoyal

@msshahanshah figured out a fix for this. apparently it was due to a missing gem which is a required dependency for production builds. Mustafa, you can share details, if I did not cover the entire context.

It would be great to share that information with others

damianlegawiec avatar Oct 18 '21 08:10 damianlegawiec

It would be great if this was documented for anyone self hosting the application.

memoalv avatar Dec 13 '21 20:12 memoalv

Hi, I have same problem with production and as I see production is only configured for heroku, could you please help to make it for standalone ?

shaqoli avatar Jan 30 '22 20:01 shaqoli