Deploy Laravel applications with Capistrano v3.*
Add this line to your application's Gemfile:
gem 'capistrano', '~> 3.0.0'
gem 'capistrano-laravel'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-laravel
Require the module in your Capfile
:
require 'capistrano/laravel'
The gem makes the following configuration variables available (shown with defaults)
set :laravel_roles, :all
set :laravel_artisan_flags, "--env=production"
set :laravel_server_user, "www-data"
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request