【文件属性】:
文件名称:capistrano-4ever:使用Capistrano部署使用永久软件包的NodeJS服务器的宝石
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-07 02:35:14
Ruby
Capistrano-4ever
该gem提供了一些Capistrano3任务,以使用npm软件包Forever部署NodeJS服务器,以确保该应用程序可以永久运行。 该宝石被命名为“ capistrano-4ever”,因为“ capistrano-forever”被使用(因此,可能使该宝石变得多余)。 无论如何,该gem命名空间位于'forever'而不是'4ever'下,因此这两个gem不兼容。
安装
将此行添加到您的应用程序的Gemfile中:
gem 'capistrano-4ever'
然后执行:
% bundle
或将其自己安装为:
% gem install capistrano-4ever
用法
在Capfile中要求:
require 'capistrano/forever'
在deploy.rb中设置的配置选项
:forever_env_variables
【文件预览】:
capistrano-4ever-master
----.gitignore(118B)
----LICENSE.txt(1KB)
----README.md(3KB)
----capistrano-4ever.gemspec(1015B)
----lib()
--------capistrano-forever.rb(0B)
--------capistrano()
----Gemfile(103B)
----Rakefile(29B)