Skip to content

Application-level dependency installation/configuration recipe manager.

License

Notifications You must be signed in to change notification settings

bonsaiben/bently

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bently is a community maintained library of executable recipes, primarily for installing and configuring Rails application dependencies.

The goal of Bently is to reduce duplication in the development process across projects, with rapid prototyping in mind.

Bently is essentially Homebrew meets Rails generators.

Bently is built on top of Thor.

Installation

gem install bently

Usage

bently list                   # list all recipes
bently list [STRING]          # find recipes matching a string
bently read [RECIPE]          # display a recipe without executing it
bently bake [RECIPE]          # execute all steps in recipe
bently bake [RECIPE] --step   # execute a recipe step by step, prompting before each step
bently source [RECIPE]        # output the URL for the document on which the recipe is based

Example

Installing and configuring devise in a Rails application

$ bently bake devise

which executes and outputs

    gemfile  devise
          1  
          2  gem "devise"
        run  bundle install from "."
        run  rails generate devise:install from "."
       TODO  rails generate devise MODEL

The recipe for devise looks like:

class Devise < RailsRecipe
  gem 'devise'
  bundle
  generate 'devise:install'
  todo 'rails generate devise MODEL'
end

Available Recipes

You can browse the recipe library on GitHub: https://github.com/bonsaiben/bently/tree/master/lib/bently/recipe

Contributing

I imagine there's a lot that could be improved with Bently, so contributions are greatly appreciated

License

Released under the MIT License. See the LICENSE file for further details.

About

Application-level dependency installation/configuration recipe manager.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages