allaire / laravel

Gem for deploying Laravel projects with capistrano v3.*

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Capistrano::FilePermissions

File permissions handling for Capistrano v3.*

Installation

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

Usage

Require the module in your Capfile:

require 'capistrano/laravel'

Configuration

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"

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Gem for deploying Laravel projects with capistrano v3.*

License:MIT License


Languages

Language:Ruby 100.0%