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

Please guide to run a production build for the same #970

Open
argoyal opened this issue Aug 31, 2021 · 17 comments
Open

Please guide to run a production build for the same #970

argoyal opened this issue Aug 31, 2021 · 17 comments

Comments

@argoyal
Copy link

argoyal commented Aug 31, 2021

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.

@linktoming
Copy link

I couldn't even setup my local server in my Macbook with M1 chip. #968

were you able to setup locally?

@argoyal
Copy link
Author

argoyal commented Aug 31, 2021

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

@linktoming
Copy link

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)?

@argoyal
Copy link
Author

argoyal commented Aug 31, 2021

worked both ways.

@damianlegawiec
Copy link
Member

@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

@moonstruck
Copy link

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

@argoyal
Copy link
Author

argoyal commented Sep 6, 2021

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

This branch does not exist @moonstruck

@argoyal
Copy link
Author

argoyal commented Sep 6, 2021

@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
Copy link
Author

argoyal commented Sep 6, 2021

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

@moonstruck
Copy link

@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

@argoyal
Copy link
Author

argoyal commented Sep 7, 2021

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

@moonstruck
Copy link

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

@argoyal
Copy link
Author

argoyal commented Sep 12, 2021

@moonstruck any updates on this?

@argoyal
Copy link
Author

argoyal commented Sep 17, 2021

@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.

@damianlegawiec
Copy link
Member

@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

@memoalv
Copy link

memoalv commented Dec 13, 2021

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

@shaqoli
Copy link

shaqoli commented Jan 30, 2022

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 ?

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

6 participants