开发者

Taking images out of SVN

I have a bunch of images in SVN I would like to move out and put on S3. How have you dealt with keeping imag开发者_JS百科es out of your ruby on rails apps and out of SVN?


You don't have to put your images into your repository. You could still have them on your server, but it doesn't really matter where they're linked from. If you don't use any plugins to manage your assets then you can just remove them from your repository, upload all of them to S3 and update all links pointing to them.

If you do use some kind of plugin like paperclip or attachment_fu then you'll have to tell it where to find your files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜