问题
I have an app whose code is up on github but which is hosted on heroku. I have a config file that I don't want on Github, but I need on heroku.
Anyone have a clever solution?
回答1:
Use config vars instead of a file.
来源:https://stackoverflow.com/questions/5280099/app-on-github-and-heroku-ignore-file-on-one-but-not-the-other