2017 © Pedro Peláez
 

library deploykit

Laravel deploy kit

image

shawnsandy/deploykit

Laravel deploy kit

  • Sunday, June 4, 2017
  • by shawnsandy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Deploykit

Latest Version on Packagist ![Software License][ico-license] ![Total Downloads][ico-downloads], (*1)

Use Laravel Collective's Remote (SSH) package to depoly your websites with the click of a button. Works on PC/MAC/Linux., (*2)

Screenshot

alt text, (*3)

Install

Via Composer, (*4)

``` bash $ composer require shawnsandy/deploykit, (*5)


## Usage -------------- #### Quick Start __Install the service provider__ Add the DeploykitServiceProvider to the `config/app.php` ``` php 'providers' => [ /* * Package Service Providers... */ //... ShawnSandy\Deploykit\DeploykitServicesProvider::class, Collective\Remote\RemoteServiceProvider::class, //... ]

Next add the Facade to you config.php, (*6)

``` php 'aliases' => [ // ... 'SSH' => Collective\Remote\RemoteFacade::class, // ... ],, (*7)

```, (*8)

Publish vendor/packages assets, (*9)

You can publish vendor files individually using --tag option or all using --provider, (*10)

Assets, (*11)

``` bash, (*12)

php artisan vendor:publish --tag=deploykit-assets, (*13)


__Views__ ``` bash php artisan vendor:publish --tag=deploykit-views

Config, (*14)

``` bash, (*15)

php artisan vendor:publish --tag=deploykit-config, (*16)


__Migrations__ ``` bash php artisan vendor:publish --tag=deploykit-migrations

Provider, (*17)

Publishes all vendor files, (*18)

``` bash, (*19)

php artisan vendor:publish --provider="ShawnSandy\Deploykit\DeploykitServicesProvider", (*20)




__Add the dollowing lines to your `routes\web.php`__ ``` php Route::group(['prefix' => 'deploy', 'middleware' => 'auth'], function (){ Route::resource('/', '\ShawnSandy\Deploykit\Controllers\DeployKitController'); Route::get('/connection/{connection}', '\ShawnSandy\Deploykit\Controllers\DeployController'); });

Config options

``` php, (*21)

return [, (*22)

'commands' => [

    "default" => ['cd /var/www', 'git pull', 'php artisan cache:clear'],

    "migrate" => ['cd /var/www', 'git pull', 'php artisan migrate', 'php artisan cache:clear'],

    "update" => ['cd /var/www', 'git pull', 'composer update', 'php artisan migrate', 'php artisan cache:clear'],

],

'limit_responses' => 200,

'responses_per_page' => 20,

];, (*23)


__Setup and configure Remote (SSH)__ [#Config](https://laravelcollective.com/docs/5.3/ssh#configuration) ### Advanced Usage Soon ## Change log Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. ## Testing ``` bash $ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*24)

Security

If you discover any security related issues, please email shawnsandy04@gmail.com instead of using the issue tracker., (*25)

Credits

License

The MIT License (MIT). Please see License File for more information., (*26)

The Versions

04/06 2017

dev-master

9999999-dev https://github.com/shawnsandy/deploykit

Laravel deploy kit

  Sources   Download

MIT

The Requires

 

The Development Requires

shawnsandy deploykit

07/03 2017

dev-develop

dev-develop https://github.com/shawnsandy/deploykit

Laravel deploy kit

  Sources   Download

MIT

The Requires

 

The Development Requires

shawnsandy deploykit

19/02 2017

v0.0.2

0.0.2.0 https://github.com/shawnsandy/deploykit

Laravel deploy kit

  Sources   Download

MIT

The Requires

 

The Development Requires

shawnsandy deploykit

19/02 2017

v0.0.1

0.0.1.0 https://github.com/shawnsandy/deploykit

Laravel deploy kit

  Sources   Download

MIT

The Requires

 

The Development Requires

shawnsandy deploykit