承接 putyourlightson/craft-blitz-shell 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

putyourlightson/craft-blitz-shell

最新稳定版本:3.0.0

Composer 安装命令:

composer require putyourlightson/craft-blitz-shell

包简介

Shell deployer for the Blitz plugin for Craft CMS.

README 文档

README

Stable Version Total Downloads

Blitz Shell Deployer for Craft CMS

The Shell Deployer allows the Blitz plugin for Craft CMS to deploy cached files to remote locations using shell commands.

WARNING: Commands are parsed by the shell of your OS. Use at your own risk.

Usage

Install the deployer using composer.

composer require putyourlightson/craft-blitz-shell

Then add the class to the driverTypes config setting in config/blitz.php.

// The deployer type classes to add to the plugin’s default deployer types.
'deployerTypes' => [
    'putyourlightson\blitzshell\ShellDeployer',
],

You can then select the deployer and add shell commands to execute either in the control panel or in config/blitz.php. The shell commands cal also be defined as an array of arrays in the deployerSettings setting in config/blitz.php.

// The deployer type to use.
'deployerType' => 'putyourlightson\blitzshell\ShellDeployer',

// The deployer settings.
'deployerSettings' => [
   'commands' => [
        ['cp -r ~/mysite.com/web/cache/blitz ~/remote'],
        ['cp -r ~/mysite.com/web/cache/blitz ~/remote'],
        ['cp -r ~/mysite.com/web/cache/blitz ~/remote'],
    ],
],

Documentation

Read the documentation at putyourlightson.com/plugins/blitz.

Created by PutYourLightsOn.

统计信息

  • 总下载量: 1.66k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-12-18