Content-Length: 260628 | pFad | https://github.com/d0rc/sweetconfig

31 GitHub - d0rc/sweetconfig: something to forget about configuration in releases
Skip to content

d0rc/sweetconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sweetconfig

Build Status

Place configuration YAML files in priv/ directory of your root application. Add following section to your config.exs file:

config :sweetconfig,
	app: :name_of_your_application

Include :sweetconfig into your app deps list.

Now you can read configuration from any point at your app like this:

	Sweetconfig.get :somekey
	Sweetconfig.get [:somekey, :somesubkey]
	Sweetconfig.get :whatever, :default_value

TBD: notification service on configuration changes.

About

something to forget about configuration in releases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/d0rc/sweetconfig

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy