Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In rails, what's the best way to deal with really large files (e.g. videos) that you do not want to commit to the repo and asset pipeline?

I've got a rails app.

And I've got some really large videos on it in the asset pipeline (couple of gigs worth).

What I want to do is remove these videos from the repo and deploy process, becuase huge and it slows the process.

However I still want them to act in a similar way to the asset pipeline and asset sync. And be versioned by changes to the repo.

What's the best way to handle large videos/files in a repo like this?

like image 315
MintDeparture Avatar asked Jan 25 '26 17:01

MintDeparture


1 Answers

You could take a look at git-annex, it allows handling of large files in git.

like image 92
Klas Mellbourn Avatar answered Jan 27 '26 07:01

Klas Mellbourn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!