selami / deployer-recipes
This package is abandoned and no longer maintained.
No replacement package was suggested.
3rd party deployer recipes
0.2.1
2017-09-21 07:00 UTC
Requires
- deployer/deployer: ^6.0
- deployer/recipes: ^6.0
README
Requirements
- PHP 7.1+
- Deployer 5+
Installation
composer require selami/deployer-recipes
Added tasks
project project:fix-rights Fix permissions project:generate-deploy-key Generate deploy key project:get-deploy-key Get deploy key ubuntu ubuntu:add-user Add new user, set authorized_keys as same as root's and set permissions ubuntu:install-nginx Install Nginx ubuntu:install-php71 Install php71-fpm and composer using ppa:ondrej/php ubuntu:private-ip Get private IP addresses ubuntu:real-ip Get real IP addresses ubuntu:reboot Reboot server ubuntu:service-restart Restart service. --service input option is required ubuntu:update Update, upgrade, and autoremove Ubuntu packages
Usage
- Init your deployer project
vendor/bin/dep init
- Add tasks and recipes to your deploy.php created by 'dep init'
<?php require_once 'deployer_tasks/tasks.php'; require_once 'deployer_recipes/recipes.php';
- Run your command
vendor/bin/dep ubuntu:private-ip stage/production