我的主机上有这个目录结构:
— my_project_folder
— — current (symlink to latest release folder)
— — releases
— — — [ app folder: cap deploy 1 ]
— — — — — app
— — — — — config
— — — — — ...
— — — [ app folder: cap deploy 2 ]
— — — [ app folder: cap deploy n ]
— — shared
我想将上传的 CarrierWave 文件存储在共享文件夹中。
我应该为 store_dir 和 cache_dir 放置哪些路径?
def store_dir
'/what/path/to/uploads'
end
def cache_dir
'/what/path/to/cache'
end