Deployer is a PHP Application deployment system powered by Laravel 5.1, written & maintained by Stephen Ball.
Check out the releases, license, screenshots, and contribution guidelines.
Current Build Status
Release Status
- Deploys applications to multiple servers accessible via SSH
- Clones your project's git repository
- Installs composer dependencies
- Runs arbitrary bash commands
- Gracefully handles failure in any of these steps
- Keeps a number of previous deployments
- Monitors that cronjobs are running
- Allows deployments to be triggered via a webhook
- Provision VMs
- Install system packages
- Configure the web server, database or other services
- Run a test suite or check code quality
The master
branch of this repository is a development branch and should not be used in production. Changes are merged into the release
branch when they are considered stable and may then be tagged for release at any time. It is recommended that you use the latest tag release for production. For information on contributing see contribution guidelines.
- PHP 5.5.9+ or newer
- A database, either MySQL or PostgreSQL are recommended but SQLite can be used
- Composer
- Redis
- Node.js
- A suitable queue for Laravel, Beanstalkd is recommended but Redis can also be used
- Supervisor to keep the queue listener and Node.js socket server running
- A caching server, unless you expect a lot of traffic the default
file
cache is probably enough
-
Clone the repository
$ git clone https://github.com/REBELinBLUE/deployer.git
-
Checkout the latest release
$ git checkout 0.0.22
-
Install dependencies
$ composer install -o --no-dev $ npm install --production
-
Make sure the storage and upload directories are writable
$ chmod -R 777 storage $ chmod -R 777 public/upload
-
Run the installer and follow the instructions
$ php artisan app:install
-
(Optional) Make any additional configuration changes
$ editor .env
-
Get the latest code
$ git fetch --all $ git checkout 0.0.22
-
Update the dependencies
$ composer install -o --no-dev $ npm install --production
-
Run the updater
$ php artisan app:update
Deployer is licensed under The MIT License (MIT).