这是在我的本地开发机器上部署存储在repo中的应用程序所需的最少量选项吗?
# config/deploy.rb
set :scm, "git" # is this necessary?
set :user, "deployer" # is this the username of my vps? How do I set the password?
set :deploy_to, "/rails_apps" # will this install the app to the /deployer/rails_apps directory of my ubuntu vps?
我仍然不知道如何指定我的vps的ip或密码。
我注意到配置文件很大..为什么我需要指定除此之外的更多选项?一旦应用程序在线,我还想做些什么?
答案 0 :(得分:0)
capistrano主页上的Getting Started部分提供了有关最小工作示例的精彩文档。
答案 1 :(得分:0)
这是在我的本地开发机器上部署存储在repo中的应用程序所需的最少量选项吗?
Capistrano 3无法做到这一点。请参阅rsync。