Open anirudh-eka opened 9 years ago
Would love to get your opinion @pturley
I would expect the environment variables to take precedence, but that is just me.
Maybe something like https://github.com/laserlemon/figaro would be good. Just make sure to provide an example config that is checked in.
Also, consider setting up config in an initializer so that it runs on boot and not on every single call and lets think about how we can simplify that environment_service.rb.
Question: If we support configuring a dashtag instance by either environment variables or a yaml file, which should take prioritization? EG: if someone sets hashtag as "love" in the env, but "peace" in the config file, which should we go with?