2017-04-25 79 views

回答

0

Capistrano::Laravel默認爲以下linked_dirs

"storage/app", 
    "storage/framework/cache", 
    "storage/framework/sessions", 
    "storage/framework/views", 
    "storage/logs" 

我使用它們在我的deploy.rb這樣

set :linked_dirs, fetch(:linked_dirs, []).push(
    'public/uploads', 
    'storage/app', 
    'storage/framework/cache', 
    'storage/framework/sessions', 
    'storage/framework/views', 
    'storage/logs' 
) 

和文件會話中不同Capistrano的部署之間持續英寸