Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nebulab/runtime_config
A runtime configuration tool for Rails 5
https://github.com/nebulab/runtime_config
rails ruby
Last synced: about 2 months ago
JSON representation
A runtime configuration tool for Rails 5
- Host: GitHub
- URL: https://github.com/nebulab/runtime_config
- Owner: nebulab
- License: mit
- Created: 2019-02-02T12:11:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-08T20:24:12.000Z (almost 4 years ago)
- Last Synced: 2024-11-20T14:49:56.458Z (2 months ago)
- Topics: rails, ruby
- Language: Ruby
- Homepage:
- Size: 203 KB
- Stars: 23
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Runtime Config for Rails [![Gem Version](https://badge.fury.io/rb/runtime_config.svg)](https://badge.fury.io/rb/runtime_config)
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](https://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](screenshot.png)
## License
This project is copyright © 2019 [Nebulab](http://nebulab.it/). It is free software, and may be redistributed under the terms specified in the [MIT](LICENSE.txt) license.
## About
![Nebulab](http://nebulab.it/assets/images/public/logo.svg)
DRU is funded and maintained by the [Nebulab](http://nebulab.it/) team.
We firmly believe in the power of open-source. [Contact us](http://nebulab.it/contact-us/) if you like our work and you need help with your project design or development.