PHPackages                             selami/deployer-recipes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. selami/deployer-recipes

AbandonedArchivedLibrary[DevOps &amp; Deployment](/categories/devops)

selami/deployer-recipes
=======================

3rd party deployer recipes

0.2.1(8y ago)124MITPHP

Since Sep 15Pushed 8y ago2 watchersCompare

[ Source](https://github.com/selamiphp/deployer)[ Packagist](https://packagist.org/packages/selami/deployer-recipes)[ Docs](https://github.com/selamiphp/deployer)[ RSS](/packages/selami-deployer-recipes/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Deployer Tasks &amp; Recipes
============================

[](#deployer-tasks--recipes)

Requirements
------------

[](#requirements)

- PHP 7.1+
- [Deployer 5+](https://deployer.org/)

Installation
------------

[](#installation)

```
composer require selami/deployer-recipes
```

Added tasks
-----------

[](#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
-----

[](#usage)

1. Init your deployer project

```
vendor/bin/dep init
```

2. Add tasks and recipes to your deploy.php created by 'dep init'

```
