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_path, "laravel/" # Default is set to ./
set :laravel_artisan_flags, "--env=production --force"
set :laravel_server_user, "www-data"
set :laravel_server_group, "www-data"
set :laravel_server_chmod_mode, "0777"- 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