定制 rocketeers/satellite 二次开发

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

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

rocketeers/satellite

Composer 安装命令:

composer require rocketeers/satellite

包简介

An on-server assistant for Rocketeer

README 文档

README

Satellite is an on-server assistant for Rocketeer. It allows you to integrate Rocketeer into your CI process by creating/updating releases from the server itself, and to virtually deploy from anywhere.

Setup

Via the global PHAR

Simply run the following commands on your server:

$ wget http://rocketeer.autopergamene.eu/versions/satellite.phar
$ chmod +x satellite.phar
$ mv satellite.phar /usr/local/bin/satellite

Via Composer

Simply run composer global require rocketeers/satellite, you'll then have a ~/.composer/vendor/bin/satellite vendor on your server you can access.

Usage

Once you have Satellite on your server, you'll need to set it up, only the first time, by running satellite setup.

After that, to see which applications are deployed on a particular server, run satellite apps:

+---------------+--------------------+---------------------+
| Application   | Number of releases | Latest release      |
+---------------+--------------------+---------------------+
| foobar        | 3                  | 2015-01-19 17:57:36 |
+---------------+--------------------+---------------------+

To create a new release of an application on your server, run satellite deploy {your_app}. This can be called from an SCM hook, a PaaS deploy routine, etc.

To follow the deployment from your local application, first install the satellite plugin in your local application by running:

$ rocketeer plugin:install rocketeers/satellite

Then add Satellite to your plugins in config.php:

// The plugins to load
'plugins'          => array(
    'Rocketeer\Satellite\SatellitePlugin',
),

You'll then have a tail command available:

$ rocketeer satellite:tail

Which will print the progress of the deploy as it runs.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-29