Commit 70adeee1 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Added a new rake task: "geo:show_encryption_key" to easy Geo setup

parent b70efed6
...@@ -42,6 +42,11 @@ namespace :geo do ...@@ -42,6 +42,11 @@ namespace :geo do
Rake::Task['geo:config:restore'].reenable Rake::Task['geo:config:restore'].reenable
end end
end end
desc 'Display database encryption key'
task :show_encryption_key => :environment do
puts Rails.application.secrets.db_key_base
end
end end
namespace :config do namespace :config do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment