establishing a local configuration for each developer, dev server, production... |
I believe this is handled right in CodeIgniter 3 already.
http://www.codeigniter.com/userguide3/ge...ments.html In my .htaccess I only need to add "SetEnv CI_ENV sandbox" Then CI will load the configs from that environment http://www.codeigniter.com/userguide3/li...vironments I have been using it for over a year (using CI 3) for each of my deployment (sandbox, dev, test, production, etc...) servers. Then as part of each boxes deploy script it does a double check on the .htaccess CI_ENV value. (git pull, db stuff, htacces stuff, etc...) Hope that helps |
Welcome Guest, Not a member yet? Register Sign In |