genandre / runtime_config

A runtime configuration tool for Rails 5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runtime Config for Rails Gem Version

A middleware to change configuration parameters at runtime for Rails 5.

Installation and Usage

  • Add to Gemfile: gem 'runtime_config'
  • Add to config/environments/development.rb: config.middleware.use RuntimeConfig::Middleware
  • Optionally specify a path, ex. config.middleware.use RuntimeConfig::Middleware, path: '/some_path'
  • Open the path (or the one set in the option): /dev

Features

  • Minimal interface using milligram.io
  • Change log level
  • Filter log lines using a RegExp
  • Enable/disable catching errors
  • Eneble/disable verbose query logs
  • Toggle cache
  • Clear cache
  • Restart server

Preview

screenshot

License

This project is copyright © 2019 Nebulab. It is free software, and may be redistributed under the terms specified in the MIT license.

About

Nebulab

DRU is funded and maintained by the Nebulab team.

We firmly believe in the power of open-source. Contact us if you like our work and you need help with your project design or development.

About

A runtime configuration tool for Rails 5

License:MIT License


Languages

Language:Ruby 62.8%Language:HTML 37.2%