Giter Site home page Giter Site logo

runtime_config's Introduction

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.

runtime_config's People

Contributors

blocknotes avatar

Stargazers

Vladimir Karan Grahovac avatar J.F. Turcot avatar vamsi pavan mahesh gunturu avatar Thomas Klemm avatar Mathias Karstädt avatar Jason Huang avatar Alex Vazquez avatar  avatar Andrew Mason avatar Mathieu Le Tiec avatar  avatar Josef Strzibny avatar Titov Andrey avatar Robert Audi avatar David Runger avatar Sergey Fedorov avatar Quentin Rousseau avatar André Arko avatar  avatar Walter Lee Davis avatar Matteo Latini avatar Andrea Dal Ponte avatar  avatar

Watchers

James Cloos avatar  avatar  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.