https://github.com/prosapient/hot_config
Hot config reloading for your application.
https://github.com/prosapient/hot_config
Last synced: 4 months ago
JSON representation
Hot config reloading for your application.
- Host: GitHub
- URL: https://github.com/prosapient/hot_config
- Owner: prosapient
- License: apache-2.0
- Created: 2021-05-12T12:15:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-17T12:36:16.000Z (about 3 years ago)
- Last Synced: 2025-05-14T08:31:43.298Z (6 months ago)
- Language: Elixir
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# HotConfig
Hot config reloading for your application.
## How it works?
When `HotConfig` receives a configured OS signal (SIGHUP by default), it re-reads configs using config provider
(`HotConfig.JSONFile` is shipped OOTB) and patches `Application` configs according to rules described in resolver.
## Installation
The package can be installed
by adding `hot_config` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:hot_config, "~> 0.2"}
]
end
```
## Documentation
The docs can be found at [https://hexdocs.pm/hot_config](https://hexdocs.pm/hot_config).
Also, check [HOWTO](./docs/howto.md).