承接 redcode/deploy 相关项目开发

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

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

redcode/deploy

Composer 安装命令:

composer require redcode/deploy

包简介

Easy deploy script for php-based projects

README 文档

README

This library provides simple way to deploy php-based application to different environments.

Installation

  • Add to you composer.json file the line:
"redcode/deploy": "1.0.*",
  • Update composer with command:
composer update redcode/deploy

Configuration

After installation process you have to spend some time with configuration. Application allow configurations files in yml and json format.

Add config.yml into your project folder:

package:
    include: "./app ./src ./web" # files which will be included to the package
    exclude: ".git" # files which will be excluded from the package
version: "vcs" # "vcs" - for getting from GIT, or any different for put as it
version-strategy: "merged" # (this option make sense only if version set to "vcs") set to "tag" for getting version from the nearest tag, set to "branch" for getting from branch. 
environment: # at least one environment must be set
    dev:
        name: "dev" # 
        host: "hostname" # hostname of the server
        path: "/var/www/website" # the location of the project on the server
    prod:
        name: "prod"
        host: "hostname2"
        path: "/var/www/website"
command:
    local: # commands for executing on a local machine 
        before: # before creating the package
            - "any command line to execute"
        after: # after creating the package
            - "any command line to execute"
    server: # commands for executing on a server
        before: # before build extracting 
            - "any command line to execute"
        after: # after build extracting
            - "any command line to execute"

Usage

cd project/path
bin/deploy

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-06-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固