Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jadb/capcake
Deploy CakePHP applications using Capistrano
https://github.com/jadb/capcake
Last synced: 11 days ago
JSON representation
Deploy CakePHP applications using Capistrano
- Host: GitHub
- URL: https://github.com/jadb/capcake
- Owner: jadb
- License: mit
- Created: 2009-11-14T14:10:11.000Z (almost 15 years ago)
- Default Branch: 3.0
- Last Pushed: 2017-08-20T16:54:18.000Z (about 7 years ago)
- Last Synced: 2024-07-12T09:42:05.928Z (4 months ago)
- Language: Ruby
- Homepage: http://github.com/jadb/capcake
- Size: 58.6 KB
- Stars: 114
- Watchers: 9
- Forks: 22
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cakephp - Capcake - Deploy CakePHP applications using Capistrano. (Libs)
README
# Capistrano::cakephp
[![Project Status](https://stillmaintained.com/jadb/capcake.svg)](https://stillmaintained.com/jadb/capcake)
Deploy CakePHP applications with Capistrano v3.*
IMPORTANT: Tested with CakePHP 3 thus far, but should work for CakePHP 2 that uses composer.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'capistrano', '~> 3.0.0'
gem 'capcake', '~> 3.0.0'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install capcake
At this point, you can install capistrano:
$ cap install
This will create the required files in your `ROOT/config` directory
At any time, for help:
$ cap -T
### Suggestions
Add `.capistrano` to your `.gitignore`:
```
echo .capistrano/* >> .gitignore
```## Usage
Require the module in your `Capfile`:
```ruby
require 'capistrano/cakephp'
```Some extras:
```ruby
require 'capistrano/cakephp/assets'
require 'capistrano/cakephp/migrations'
```### Configuration
The gem makes the following configuration variables available (shown with defaults)
```ruby
set :cakephp_roles, :all
set :cakephp_flags, ''
set :cakephp_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