[英]Rails - How to host static assets on S3 with Heroku
I have a rails 5 app I'm about to deploy. 我有一个即将部署的Rails 5应用程序。
the image folder is over 300 Mb (over the limit of heroku's deploy size) So I've uploaded all the images to S3 however, Heroku is still precompiling and the build is failing because of the slug size. 映像文件夹超过300 Mb(超出了Heroku部署大小的限制),因此我已将所有映像上传到S3,但是,Heroku仍在预编译中,并且由于块大小而导致构建失败。
Can anyone point me to articles or help me solve the following problems? 谁能指出我的文章或帮助我解决以下问题?
much appreciated! 非常感激!
Heroku aready had a document about this. Heroku Aready有一个与此有关的文档。 Please check it out here .
请在这里查看 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.