aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-02-03 17:27:05 +0100
committerHarald Eilertsen <haraldei@anduin.net>2013-02-03 17:27:05 +0100
commit35ea91f88f692893638d1fc33965d9cbec5e2c81 (patch)
tree0c014eb8ea89265405c4b113d163cb75917774aa /config/deploy
parentc919e974136bf86ddd7f8e1efd967aff9121488c (diff)
downloadhmnoweb-35ea91f88f692893638d1fc33965d9cbec5e2c81.tar.gz
hmnoweb-35ea91f88f692893638d1fc33965d9cbec5e2c81.tar.bz2
hmnoweb-35ea91f88f692893638d1fc33965d9cbec5e2c81.zip
Turn into a neutral base for starting off new apps.
Diffstat (limited to 'config/deploy')
-rw-r--r--config/deploy/database.yml.mysql4
-rw-r--r--config/deploy/refinery_setup.rb4
-rw-r--r--config/deploy/secret_token.rb2
3 files changed, 5 insertions, 5 deletions
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"