Pushing .gitignore files to specific remote

前端 未结 2 565
说谎
说谎 2021-02-04 04:27

I made a Sinatra app, that will be hosted on Heroku, and the source will be up on GitHub. The problem is that i have a file with API keys, that is currently in .gitignore. Is th

2条回答
  •  你的背包
    2021-02-04 05:19

    The Figaro gem provides a good way to manage this issue. It basically simulates Heroku's environment variable approach locally, and makes it easy to keep your keys in sync between your development environment and Heroku.

提交回复
热议问题