establishing a local configuration for each developer, dev server, production... |
I'm looking for a great way to establish local settings in my CI working directory. The other dev on my team will also need to do this: his settings are different than mine for folder locations, db access, mail, etc. Likewise the dev server and production servers will still have different settings.
This approach looks pretty awesome: http://caseymclaughlin.com/articles/setu...odeigniter HOWEVER, it requires a loop of code in the application/config/database.php. Does that look OK to everyone? It looks a wee bit hackish to me but is probably acceptable because it does not go into the git repo. (EDIT: it *does* end up in the git repo and on the prod server) If anyone has better solutions for this, I'd love to see them. |
Welcome Guest, Not a member yet? Register Sign In |