mirror of
https://github.com/internetee/registry.git
synced 2025-08-12 12:39:34 +02:00
added devise example secret
This commit is contained in:
parent
1996ff725e
commit
581667fdfc
3 changed files with 8 additions and 5 deletions
|
@ -2,7 +2,7 @@ require 'mina/bundler'
|
||||||
require 'mina/rails'
|
require 'mina/rails'
|
||||||
require 'mina/git'
|
require 'mina/git'
|
||||||
require 'mina/whenever'
|
require 'mina/whenever'
|
||||||
# require 'mina/rbenv' # for rbenv support. (http://rbenv.org)
|
require 'mina/rbenv' # for rbenv support. (http://rbenv.org)
|
||||||
# require 'mina/rvm' # for rvm support. (http://rvm.io)
|
# require 'mina/rvm' # for rvm support. (http://rvm.io)
|
||||||
|
|
||||||
# Basic settings:
|
# Basic settings:
|
||||||
|
@ -33,7 +33,7 @@ end
|
||||||
# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
|
# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
|
||||||
# They will be linked in the 'deploy:link_shared_paths' step.
|
# They will be linked in the 'deploy:link_shared_paths' step.
|
||||||
set :shared_paths, [
|
set :shared_paths, [
|
||||||
'config/initializers/env.rb',
|
'config/initializers/devise_secret.rb',
|
||||||
'config/database.yml',
|
'config/database.yml',
|
||||||
'config/secrets.yml',
|
'config/secrets.yml',
|
||||||
'log',
|
'log',
|
||||||
|
@ -50,7 +50,7 @@ set :shared_paths, [
|
||||||
task :environment do
|
task :environment do
|
||||||
# If you're using rbenv, use this to load the rbenv environment.
|
# If you're using rbenv, use this to load the rbenv environment.
|
||||||
# Be sure to commit your .rbenv-version to your repository.
|
# Be sure to commit your .rbenv-version to your repository.
|
||||||
# invoke :'rbenv:load'
|
invoke :'rbenv:load'
|
||||||
|
|
||||||
# For those using RVM, use this to load an RVM version@gemset.
|
# For those using RVM, use this to load an RVM version@gemset.
|
||||||
# invoke :'rvm:use[ruby-1.9.3-p125@default]'
|
# invoke :'rvm:use[ruby-1.9.3-p125@default]'
|
||||||
|
|
5
config/initializers/devise_secret_example.rb
Normal file
5
config/initializers/devise_secret_example.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Please generate production secret with 'rake secret' command
|
||||||
|
# example secret: 'c831d559c77de1e6544ed4954d5752c294d2390036e45962dc0d44942f20db795ab7b0485b34faf237183660348e3192344404f52df7dee23d8031521d550f89'
|
||||||
|
Devise.setup do |config|
|
||||||
|
config.secret_key = 'please-change'
|
||||||
|
end
|
|
@ -1,2 +0,0 @@
|
||||||
# options: :admin, :registrar, :eedirect
|
|
||||||
REGISTRY_ENV = :eedirect
|
|
Loading…
Add table
Add a link
Reference in a new issue