Welcome Guest, Not a member yet? Register   Sign In
establishing a local configuration for each developer, dev server, production...
#1

(This post was last modified: 12-29-2014, 10:41 AM by sneakyimp.)

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.
Reply


Messages In This Thread
establishing a local configuration for each developer, dev server, production... - by sneakyimp - 12-29-2014, 10:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB