Drop config/config.yml.example. Not needed anymore

Also make config/secrets.yml.example read a bit nicer
This commit is contained in:
Henne Vogelsang 2016-03-22 18:09:18 +01:00
parent d532016312
commit 45c31f210f
3 changed files with 31 additions and 69 deletions

View file

@ -1,18 +1,9 @@
defaults: &defaults
# You can generate secret keys with 'rake secret'
# For rails cookies
secret_key_base: '12345'
# For devise login tokens
devise_secret_key: '12345'
# Your errbit API key
# errbit_key: '12345'
development:
<<: *defaults
# Sample data so that mocks work
# Generate your own with rake secret
# secret_key_base: '12345'
########## OMNIAUT Providers ##########
# This is just sample data so mocks work
google_key: 'sample'
google_secret: 'sample'
@ -23,33 +14,45 @@ development:
suse_secret: 'sample'
test:
<<: *defaults
# Generate your own with rake secret
# secret_key_base: '12345'
production:
<<: *defaults
# Leave the variables' names empty, unless you use the providers, in which case you need to
# register your applicaton and add the actual keys.
# Generate your own with rake secret or use the environment
# secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
# If you add more providers, keep the format of the variables: provider_key, provider_secret
# Your errbit API key
# errbit_key: '12345'
# Register your appllication with Google from https://code.google.com/apis/console#:access
########## OMNIAUT Providers ##########
# Leave the variables' names empty, unless you use the providers, in which
# case you need to register your applicaton and add the actual keys.
#
# If you add a provider, keep the format of the variables:
# *provider*_key and *provider*_secret
# If you add a provider that does not require a key, you still have to
# create the 2 variables with sample data or they won't show up in the app.
# Register your appllication with Google from
# https://code.google.com/apis/console#:access
google_key: ''
google_secret: ''
# Register your application with Facebook from https://developers.facebook.com/
# Register your application with Facebook from
# https://developers.facebook.com/
facebook_key: ''
facebook_secret: ''
# Developers do not need to register their application for suse account to work.
# You must, however, add some sample value to the variables, for the login option to appear.
# For example:
# Developers do not need to register their application for suse account to
# work. You must, however, add some sample value to the variables, for the
# login option to appear. For example:
#suse_key: 'sample data'
#suse_secret: 'sample data'
suse_key: ''
suse_secret: ''
# Register your application with GitHub from https://github.com/settings/applications
# Register your application with GitHub from
# https://github.com/settings/applications
github_key: ''
github_secret: ''
# If you add more providers that do not require a key, you still have to create the 2 variables with sample data