[nycphp-talk] git to this presentation
Chris Snyder
chsnyder at gmail.com
Mon Mar 30 12:19:02 EDT 2009
2009/3/30 <y2rob at aol.com>:
> i think you do bring up some interesting points, but i'm confused on the
> sensitive material part. do you not have this in your version control? i
> would assume you have a check to determine if you're developing locally,
> staging or production, so that you're not editing these files per server.
>
> ~rob
I was actually talking about /etc configuration files that really are
local, and not part of any php project.
In php projects, we normally create config.php-dist as a prototype
without any passwords or keys, and include that in the repository.
Then we save it as config.php locally. The config.php never gets
checked into the repository as it is unique to each installation.
I'm sure there are slicker ways to handle that, but it's always worked
just fine.
More information about the talk
mailing list