App on Github and heroku: Ignore file on one but not the other

雨燕双飞 提交于 2020-01-02 08:05:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!