digipolisgent/robo-digipolis-generic 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

digipolisgent/robo-digipolis-generic

最新稳定版本:6.0.0

Composer 安装命令:

composer require digipolisgent/robo-digipolis-generic

包简介

Basic deploy flow for a generic php site.

README 文档

README

Latest Stable Version Latest Unstable Version Total Downloads License

Build Status Maintainability Test Coverage PHP 7 ready

Used by digipolis, serving as an example.

This package contains a RoboFileBase class that can be used in your own RoboFile. All commands can be overwritten by overwriting the parent method.

Example

<?php

use DigipolisGent\Robo\Generic\RoboFileBase;

class RoboFile extends RoboFileBase
{
    use \Robo\Task\Base\loadTasks;

    /**
     * @inheritdoc
     */
    public function digipolisDeployGeneric(
        array $arguments,
        $opts = [
            'app' => 'default',
            'worker' => null,
        ]
    ) {
        $collection = parent::digipolisDeployGeneric($arguments, $opts);
        $collection->taskExec('/usr/bin/custom-post-release-script.sh');
        return $collection;
    }
}

Available commands

Following the example above, these commands will be available:

digipolis:backup-generic           Create a backup of files
(sites/default/files) and database.
digipolis:build-generic            Build a generic site and package it.
digipolis:clean-dir                Partially clean directories.
digipolis:clear-op-cache           Command digipolis:database-backup.
digipolis:database-backup          Command digipolis:database-backup.
digipolis:database-restore         Command digipolis:database-restore.
digipolis:deploy-generic           Build a generic site and push it to the
servers.
digipolis:download-backup-generic  Download a backup of files and database.
digipolis:init-generic-remote      Install or update a remote site.
digipolis:install-generic          Install the site in the current folder.
digipolis:package-project          Package a directory into an archive.
digipolis:push-package             Command digipolis:push-package.
digipolis:restore-backup-generic   Restore a backup of files and database.
digipolis:sync-generic             Sync the database and files between two
generic sites.
digipolis:update-generic           Executes database updates of the site
in the current folder.
digipolis:upload-backup-generic    Upload a files and database backup to a server.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固