Best Proactice When Deploying Yii Based App Via Capistrano


I’m considering to use Capistrtano todeploy my yii based app.

Is there any best practice to use Capistrano with Yii baed app?

at my first sight, I think the best is

  1. run "capify" under root directory of yii app


  1. 2 files come into
  • Capifile

[size=2]* config/[/size][size=2]deploy.rb[/size]

  1. replace config/deploy.rb with following

please let me know if any suggestion.

these links might be useful

thanks. I’ll take a look. It seems that yiifony has been stoped developing?