Closed server-monitor closed 8 years ago
.env
isn't supposed to add into .gitignore
?
Not too familiar with dotenv but I'm fairly certain you're correct.
I'm not sure either, I think in our case we better do that because it's public repo https://github.com/bkeepers/dotenv#should-i-commit-my-env-file
Not sure if this is right way to do this:
I shouldn't have to create a new PR, right?
Maybe you're looking for git rm --cached
command, for not tracking the file
Let's merge this PR when you have a moment @server-monitor It seems like there's nothing more to discuss on
To test:
.env
. For example:S3_BUCKET=YOURS3BUCKET
.In the
box-office.rb
file, after theDotenv.load
line, add the lines...puts( ('YOURS3BUCKET' == ENV.fetch('S3_BUCKET')) ? 'pass' : 'FAIL' )
ruby box-office.rb