README.md in recipes_matic-1.1.0 vs README.md in recipes_matic-1.2.0

- old
+ new

@@ -19,35 +19,42 @@ ## Usage Add following gem to Gemfile ```ruby -gem 'capistrano', '~> 2.15.5' -gem 'capistrano-ext', '~> 1.2.1' -gem 'unicorn', '~> 4.6.3' +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 ```ruby bundle install -capify . +bundle exec capistrano install rails g recipes_matic:install ``` -Now edit `config/deploy.rb`, `config/deploy/staging.rb` and `config/deploy/production.rb` +Now edit `config/deploy.rb`, `config/deploy/recipes/base.rb` -If install server package for ruby and rails run the following command -`cap deploy:install` +Add this line to end of `config/deploy.rb` file +```ruby +load 'config/deploy/recipes/base.rb' +``` -and execute +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` -`cap staging deploy:setup` -`cap staging deploy:cold` - -Finish... - ## 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'`) @@ -56,12 +63,12 @@ ## Credits ![lab2023](http://lab2023.com/assets/images/named-logo.png) -- Cybele is maintained and funded by [lab2023 - information technologies](http://lab2023.com/) -- Thank you to all the [contributors!](https://github.com/kebab-project/recipes_matic/graphs/contributors) +- RecipesMatic is maintained and funded by [lab2023 - information technologies](http://lab2023.com/) +- Thank you to all the [contributors!](../../graphs/contributors) - The names and logos for lab2023 are trademarks of lab2023, inc. ## License -Copyright 2014 lab2023 – information technologies +Copyright © 2013-2015 [lab2023 - information technologies](http://lab2023.com)