nginx - Why does capistrano puts my Rails app in Releases folder? -
after fighting through lot of issues, able deploy rails app ... whole rails directory structure in /var/www/-myappname-/releases/-datetimestamp- folder
i expected app put /var/www/-myappname- routing work? missing here? did forget step?
this done couple of reasons
- app doesn't go down during deploy (as files overwritten while app still running in same dir)
- so can , rollback in case of fuckup on deploy
also, current release should symlinked /var/www/-myappname-/current
, that's there server should point to.
Comments
Post a Comment