Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lab2023/recipes_matic
Copy beautiful Capistrano recipes into project
https://github.com/lab2023/recipes_matic
Last synced: about 2 months ago
JSON representation
Copy beautiful Capistrano recipes into project
- Host: GitHub
- URL: https://github.com/lab2023/recipes_matic
- Owner: lab2023
- License: mit
- Created: 2013-10-29T15:14:44.000Z (about 11 years ago)
- Default Branch: develop
- Last Pushed: 2016-02-11T12:04:03.000Z (almost 9 years ago)
- Last Synced: 2024-10-31T14:20:08.296Z (3 months ago)
- Language: Ruby
- Homepage: http://kebab-project.org/
- Size: 50.8 KB
- Stars: 10
- Watchers: 14
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# 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
```ruby
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
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
```ruby
load 'config/deploy/recipes/base.rb'
```
Also look our [example config/deploy.rb file](example_deploy.rb)
[example Capfile file](example_Capfile)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](http://lab2023.com/assets/images/named-logo.png)
- 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 © 2013-2015 [lab2023 - information technologies](http://lab2023.com)