rocketeers / satellite
An on-server assistant for Rocketeer
Requires
- anahkiasen/rocketeer: dev-develop
- illuminate/console: ~4.2
- symfony/yaml: ~2.6
Requires (Dev)
- herrera-io/box: ~1.6
This package is auto-updated.
Last update: 2024-12-08 01:14:17 UTC
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.