From 35ea91f88f692893638d1fc33965d9cbec5e2c81 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 3 Feb 2013 17:27:05 +0100 Subject: Turn into a neutral base for starting off new apps. --- config/deploy/database.yml.mysql | 4 ++-- config/deploy/refinery_setup.rb | 4 ++-- config/deploy/secret_token.rb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'config/deploy') diff --git a/config/deploy/database.yml.mysql b/config/deploy/database.yml.mysql index ce28c6a..389a9b2 100644 --- a/config/deploy/database.yml.mysql +++ b/config/deploy/database.yml.mysql @@ -15,7 +15,7 @@ test: &test production: &production adapter: mysql2 host: localhost - database: religionsfrihet_i_praksis - username: rip_admin + database: your_production_database + username: your_db_admin password: <%= Capistrano::CLI.ui.ask("Enter MySQL password: ") %> encoding: utf8 diff --git a/config/deploy/refinery_setup.rb b/config/deploy/refinery_setup.rb index 6805dfe..da6616a 100644 --- a/config/deploy/refinery_setup.rb +++ b/config/deploy/refinery_setup.rb @@ -19,8 +19,8 @@ Capistrano::Configuration.instance.load do Refinery::Core.configure do |config| config.rescue_not_found = Rails.env.production? config.s3_backend = !(ENV['S3_KEY'].nil? || ENV['S3_SECRET'].nil?) - config.base_cache_key = :rip - config.site_name = "Religionsfrihet i Praksis" + config.site_name = "Company Name" + config.base_cache_key = #{config.site_name.parameterize('_').to_sym} config.authenticity_token_on_frontend = true config.dragonfly_secret = "#{SecureRandom.hex(24)}" config.ie6_upgrade_message_enabled = true diff --git a/config/deploy/secret_token.rb b/config/deploy/secret_token.rb index 7c11ec0..dc2e19a 100644 --- a/config/deploy/secret_token.rb +++ b/config/deploy/secret_token.rb @@ -13,7 +13,7 @@ Capistrano::Configuration.instance.load do task :setup, :except => { :no_release => true } do default_template = <<-EOF - ReligionsfrihetNo::Application.config.secret_token = '#{`bundle exec rake secret`}' + BetaWebApp::Application.config.secret_token = '#{`bundle exec rake secret`}' EOF run "mkdir -p #{shared_path}/config" -- cgit v1.2.3