Skip to content

Sumo specific recipe for usage with Deployer

License

Notifications You must be signed in to change notification settings

davysumo/deployer-sumo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployer Sumo specific Recipe

Recipe for usage with [deployer][https://deployer.org/]. It includes tasks specific for SumoCoders.

Installing

composer require tijsverkoyen/deployer-sumo --dev

Include recipes in deploy.php file.

require __DIR__ . '/vendor/tijsverkoyen/deployer-sumo/sumo.php';

Available tasks

sumo:assets:install

Install bundle's web assets under a public directory

sumo:db:create

Creates a database on our dev server. This task can will only run on the host with the stage "staging".

It will output the credentials.

sumo:db:info

This task will output the credentials of the existing database on the dev server. This task can will only run on the host with the stage "staging".

sumo:db:get

Run this task to replace your local database with the remote database. Be aware that no backup will be made.

sumo:db:put

Use this command to replace the remote database with your local database.

sumo:files:get

Run this task to replace your local files with the remote files. Be aware that no backup will be made.

sumo:files:put

Run this task to replace the remote files with your local files. Be aware that no backup will be made.

sumo:notifications:deploy

Notify our webhooks on a deploy. This task is automatically added into the flow.

sumo:redirect:enable

Enable a redirect page, all traffic will be redirected to this page.

sumo:symlink:document-root

Creates the needed symlinks to link the document root to the correct folder.

sumo:opcache:reset-file

Clears opcache and statcache using a file strategy.

License

Licensed under the MIT license.

About

Sumo specific recipe for usage with Deployer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%