I created a configuration file in my Kohana project that stores the OAuth access tokens and secret keys for an API in application/config
.
I now want to push my code to GitHub but I don't want to expose tokens/keys on GitHub. I know with CodeIgniter, all I need to do is put these sensitive files in the application/config/development
directory, set my .gitignore file to ignore the development directory (*/config/development
), push my code to the remote, and continue working with my config details in the development directory.
Is there something similar or specific in working on Kohana project? Should I just create a rule in .gitignore file that ignores the application/config
?