Sha256: 30480a229058221534dc6fe3c67f80d8c059a8502eb3f781d397e10bba32a2c1

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

# Cap::Laravel

A collection of tasks for deploying a Laravel app via Capistrano.

## Installation

Add this line to your application's Gemfile:

    gem 'cap-laravel'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install cap-laravel

## Usage

Add it to your Capfile:

	require 'cap/laravel'

Bask in the glory of Capistrano.

## Settings

### Migrations

If you are creating an app that doesn't have any migrations, e.g. an API client, you can ignore migrations by setting the following in your `deploy.rb` file:

	set :run_migrations, false
  
### Assets

If for some reason you do not want to run NPM & Grunt, e.g. you're on a Unilever server that won't resolve NPM requests, you can prevent them:

	set :run_assets, false

This means even if a package.json or Gruntfile.js exist on the server, they will not be executed by their package manager.

You will probably want to set this if you are comitting compiled stylesheets to your repo, or uploading them in a compiled state.

### Grunt

By default, the `grunt` task will be run when compiling CSS, etc. To alter the command that is run set the following:

	set :grunt_cmd, "grunt task here"

This could be something like `grunt:prod`, or whatever you want it to be if it doesn't follow the normal practice.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cap-laravel-0.0.6 README.md