定制 thebytelab/vapor-multi-region-deploy 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

thebytelab/vapor-multi-region-deploy

Composer 安装命令:

composer require thebytelab/vapor-multi-region-deploy

包简介

An artisan command to assist deploying your Laravel Vapor app to multiple AWS regions

README 文档

README

Provides an artisan command to assist deploying your Laravel Vapor app to multiple AWS regions.

Installation

composer require thebytelab/vapor-multi-region-deploy 

Setup & Usage

The vapor:multi-region:deploy command assumes you have a directory in your project root called vapor which contains all of the vapor.yml manifests following a naming pattern similar to the examples below:

  • us-east.vapor.yml
  • test.vapor.yml
  • node1.vapor.yml

The steps to getting started:

  1. If you haven't got one already, create a vapor directory in your project root.
  2. Move any vapor files to this new folder and rename them to something that makes sense following the pattern above.
  3. Run php artisan vapor:multi-region:deploy to deploy your app to multiple Vapor projects or regions.

Advanced usage

The following options can be used to modify default behaviour, some options are inherited from the vapor deploy command:

--bin (string)

Relative location of the laravel/vapor-cli executable. Defaults to vendor/bin/vapor in the project root.

Example usage: php artisan vapor:multi-region:deploy --bin=/usr/local/bin/vapor

--vapors (string)

Relative location to the folder containing the *.vapor.yml files to use. Defaults to looking for the vapor folder in the project root.

Example usage: php artisan vapor:multi-region:deploy --vapors=/build/vapor

--commit (string)

The commit hash that is being deployed.

Example usage: php artisan vapor:multi-region:deploy --commit=57566c1419cdacf00ff00f781b62fac670d7aee3

--message (string)

The message for the commit that is being deployed.

Example usage: php artsian vapor:multi-region:deploy --message="Added a new feature"

--without-waiting

Deploy without waiting for progress. May help speed up deployments to multiple Vapor projects or regions.

Example usage: php artisan vapor:multi-region:deploy --without-waiting

--fresh-assets

Upload a fresh copy of all assets.

Example usage: php artisan vapor:multi-region:deploy --fresh-assets

统计信息

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

GitHub 信息

  • Stars: 16
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固