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

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -