【文件属性】:
文件名称:capistrano-foreman:工头支持 Capistrano 3.x
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-01 10:57:38
Ruby
Capistrano::工头
Capistrano V3 工头
在制品
有龙,风险自负。
安装
将此行添加到应用程序的 Gemfile 中:
gem 'capistrano3-foreman'
然后执行:
$ bundle
或者自己安装:
$ gem install capistrano3-foreman
用法
要求在 Capfile 中使用默认任务:
require 'capistrano/foreman'
###Export Procfile 到 upstart###
此任务将在deploy:restart作为 Capistrano 默认部署的一部分之前运行,或者可以通过以下方式单独运行:
cap production foreman:export
笔记
为了让工头导出新贵,您的部署用户必须具有sudoer权限
###选项###
工头的自定义环境变量 。
【文件预览】:
capistrano-foreman-master
----.gitignore(164B)
----README.md(2KB)
----CHANGELOG.md(25B)
----Gemfile(103B)
----capistrano3-foreman.gemspec(1011B)
----LICENSE.txt(1KB)
----lib()
--------capistrano()
--------capistrano-foreman.rb(67B)
----Rakefile(28B)