DarkCreative Studio Best Practices

This gem makes your configuring deployment faster!

for Ruby on Rails applications

Features

  • Deployment

    • Capistrano integration
    • Configuration generator
    • Custom tasks
    • Predefined default settings
    • Pretty logs with Airbrussh gem
  • Environment

  • Web server

    • Unicorn in requirements
    • Config predefined

Requirements

It is tested and works with:

  • MRI >= 2.1
  • Rails >= 4.2

Other versions are untested but might work fine.

Installation

Add this line to your application's Gemfile into development group:

gem 'dcs-best-practices'

And then execute:

$ bundle

Usage

Add deployment configuration:

$ rails g dcs:deploy

This creates the following files, you can edit them for your choice.

├── Capfile
└── config
    ├── initializers
       └── figaro.rb
    ├── deploy
       ├── production.rb
       └── testing.rb
    ├── environments
       └── testing.rb
    ├── deploy.rb
    ├── newrelic.yml
    ├── database.yml
    ├── secrets.yml
    └── application.yml
├── .editorconfig
└── .rubocop.yml

License

This project rocks and uses MIT License (MIT).

Copyright (c) 2019 DarkCreative Studio