JanDW/wildpeaches

Check images into Git LFS

JanDW opened this issue · 4 comments

JanDW commented

https://docs.github.com/en/github/managing-large-files/working-with-large-files

checked in .gitattributes setting up LFS for png, jpg, jpeg, gif,svg in a21c460

JanDW commented

I set up "large file storage", which I set it up for images (with extensions png,gif,jpg,jpeg,svg). It keeps the images out of the repository, and stores a file with a pointer to them to Git LFS instead. It keeps the repository lean and fast. It does add complexity though.

I figured that would be largely hidden from John as Github Desktop supports Git LFS out-of-the-box. But ah yeah, what about Netlify? Well, they do support it. But the assets seem to get uploaded to their servers at time of pushing to GitHub, bringing with it a dependency on Netlify Dev. Additionally, It looks like we'd need to get on a paid tier of their plan, and that's a little steep. Ugh.

Anyway, I have some possible solutions to explore, (using Cloudinary, or Netlify CMS) but I'm dreading the prospect a little. I'm heading into the territory I despise about "modern web development" where every solution comes with three new problems for free.

JanDW commented

Abandoning git lfs for now. Was using lfs and netlify large media, but both are disabled now. Netlify large media only is supported for one user on the free plan.