Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Configure curator/mongo without a YAML config file? #27
After poking around a bit it seems the way curator is currently written it's not possible to manually set up a connection, and you have to use a YAML file? Or at least I couldn't figure out how. Is that correct?
I've always thought configuring databases connections with YAML files is kind of gross. Plus it makes it rather difficult if you keep your database connection strings in environment variables. Thoughts?
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
You are correct. The only way to currently configure is via a YAML file. We went with YAML since this is a common pattern with Rails and other ruby projects.
I'm open to alternate solutions if you are interested in contributing.
One simple solution is to ERB the YAML config files so you can use environment variables.
Another solution is to add a connection attribute to