Giter VIP home page Giter VIP logo

configman's Introduction

ConfigMan Gem

ConfigMan is a Ruby gem designed to simplify the configuration management of your Ruby applications. It provides a modular approach, allowing you to easily manage different aspects of your application's configuration such as API, Cache, Database, Email, and more. You can even extend its functionality by registering your own custom modules.

If you're new to the Gem, please refer to our Wiki not just this Readme If you need more direct help, join our Discord

Table of Contents

Installation

To install the ConfigMan gem, run the following command:

gem install configman

Or add it to your Gemfile:

gem 'configman'

Then run bundle install.

Usage

Built-in Modules

ConfigMan comes with a variety of built-in modules to manage different aspects of your configuration. Here's a quick example:

require 'configman'

default_modules = ['API', 'Cache', 'Database', 'Email', 'FileStorage', 'Localization', 'Logging', 'YAML']
ConfigMan.load_modules(default_modules)
ConfigMan.setup(default_modules)
ConfigMan.load

Custom Modules

You can also register your own custom modules to extend the functionality of ConfigMan. Here's how:

require 'configman'
# Register the custom module
ConfigMan.register_module('/path/to/your/custom_module.rb')

# Then proceed with the rest of the setup as usual
default_modules = ['API', 'Cache', 'Database', 'YAML']
ConfigMan.load_modules(default_modules)
ConfigMan.setup(default_modules)

Wiki

For more detailed information and advanced usage, please refer to our Wiki. NOTE: The Wiki is still under construction, apologies for any confusion on usage

Contributing

Contributions are welcome! Fork the repository to your account on our Git server, make your changes, and submit a PR! We will review, and if we don't find any issues, we will merge the PR! NOTE: Registration is currently disabled while we update some things. We apologize for any inconvenience

License

This project is licensed under the PixelRidge-BEGPULSE License. See the LICENSE file for details.

configman's People

Contributors

vetheongames avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.