Copy beautiful Capistrano recipes into project
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib update version v1.3.0 Feb 11, 2016
.gitignore
CHANGELOG.md update changelog Feb 11, 2016
Gemfile #1 gem application created Oct 29, 2013
MIT-LICENSE
README.md Update README.md Sep 8, 2015
Rakefile #1 gem application created Oct 29, 2013
example_Capfile Rename example_Capfile.rb to example_Capfile Sep 8, 2015
example_deploy.rb Create example_deploy.rb Sep 8, 2015
recipes_matic.gemspec Development dependency problem was solved Aug 25, 2015

README.md

RecipesMatic

Copy beautiful recipes into project

Installation

Add this line to your application's Gemfile:

gem 'recipes_matic'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install recipes_matic

Usage

Add following gem to Gemfile

gem 'capistrano', '~> 3.4.0'
gem 'unicorn', '~> 4.9.0'
group :development do
  gem 'capistrano-rails',   '~> 1.1', require: false
  gem 'capistrano-bundler', '~> 1.1', require: false
  gem 'sshkit-sudo', require: false
  gem 'capistrano-maintenance', '~> 1.0', require: false
  gem 'recipes_matic'
end

And then execute

bundle install
bundle exec capistrano install
rails g recipes_matic:install

Now edit config/deploy.rb, config/deploy/recipes/base.rb

Add this line to end of config/deploy.rb file

load 'config/deploy/recipes/base.rb'

Also look our example config/deploy.rb file example Capfile file

If you want to prepare your server, run the following command

For production : bundle exec cap production deploy:prepare

For staging : bundle exec cap staging deploy:prepare

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

Credits

lab2023

License

Copyright © 2013-2015 lab2023 - information technologies