I am trying to promote a new, empty Rail 3.0.4 project on GitHub, but I just understand that there is a secret key in the cookie session store:
In config/initializers/secret_token.rb
NewRuby192Rails304Proj::Application.config.secret_token = '22e8...'
So, how can we avoid clicking it on GitHub? We can ignore this file (using .gitignore ), but without this file the Rails application will not start at all (and is not a complete Rails application). Or, as a rule, other files or frameworks may have files containing private keys. In this case, how should this be handled when clicking on GitHub?
git github secret-key
ε€ͺζ₯΅ θ
η‘ζ₯΅ θ η Feb 27 '11 at 8:11 2011-02-27 08:11
source share