Update web project with rails 5 and Capistrano 3

0

Hello,

I would like to know how I could do so that the client when using the web system, could update it by calling a Capistrano command. My architecture is 1 server per client.

The idea is for a folder with the updated version to be released for all clients / servers (cap production deploy does this), but would like the migrations and publishing not to be run. This so that when the client access the system would come through reading the folders that a new version of the system existed. When clicking the update button, yes it would do the migrates and put the symbolic link in the new folder, restart the puma etc.

I think I would have to install capistrano on all servers and I would have to figure out one way to not run part of the process and the other part to the client to click on refresh. Any suggestions on how to do this? Thankful!

    
asked by anonymous 20.02.2018 / 12:37

0 answers