Many thanks!!! I'll try it! On 23 сен, 05:02, Rafa García <conta...@rafagarcia.net> wrote: > For example: > > after "deploy:symlink", "deploy:symlink_assets" > > desc "Symlink Assets/Uploads" > task :symlink_assets, :roles => :app do > run "ln -nfs #{shared_path}/uploads #{release_path}/public/uploads" > end > > Here I'm saying, after the task deploy:symlink (which is called during > deploy:update) make a symlink from shared_path/uploads to the > release_path/public/uploads. With it, we achieve to upload the files always > in the same directory and symlink this directory in every deploy. > > Regards > > 2011/9/22 Александр Дергач <aderg...@gmail.com> > > > please, give me step-by-step instructions, I'm beginner in linux and > > capistrano. Thanks! > > > On 22 сен, 23:21, Donovan Bray <donno...@gmail.com> wrote: > > > look at shared_children > > > > use the same pattern, move the real image location to the 'shared' > > > directory; on deploy replace the references inside the new deploy > > directory > > > with symlinks to the directory in the shared location. > > > > Thus that directory will be preserved between deployments. > > > > 2011/9/22 Александр Дергач <aderg...@gmail.com> > > > > > I use Capistrano for development, each time, doing deploy:update there > > > > is a new release and a new folder public, all added images disappear. > > > > How to solve a problem? > > > > > -- > > > > * You received this message because you are subscribed to the Google > > Groups > > > > "Capistrano" group. > > > > * To post to this group, send email to capistrano@googlegroups.com > > > > * To unsubscribe from this group, send email to > > > > capistrano+unsubscr...@googlegroups.com For more options, visit this > > group > > > > athttp://groups.google.com/group/capistrano?hl=en > > > -- > > * You received this message because you are subscribed to the Google Groups > > "Capistrano" group. > > * To post to this group, send email to capistrano@googlegroups.com > > * To unsubscribe from this group, send email to > > capistrano+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/capistrano?hl=en
-- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en