Capistrano deploy flow outline
Official flow reference:?點擊打開鏈接
An example flow:
Deploy: starting
Rbenv ensures that the version we configured on config/deploy.rb is installed and that it can write on disc.
Checks git repository
Create needed folder tree
/var/www
App_name
Shared
Public
Assets
Releases
Deploy: updating
Clone the whole repo in /var/www/app_name/repo
Creates a new folder date-time named on /var/www/app_name/releases/20140717180754
Copies the project there
Deploy: publishing
Runs bundle install in last release folder
Runs assets:precompile copying our minimized assets to shared/public/assets
Creates a soft link from last release to /var/www/app_name/current
Restart server.
Deploy:finishing
Logs deployment to revisions.log
總結
以上是生活随笔為你收集整理的Capistrano deploy flow outline的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: sql 修改字段 删除字段操作
- 下一篇: java.lang.ClassCastE