changes 'participacion' to 'consul' in config

This commit is contained in:
Juanjo Bazán
2015-11-23 14:10:46 +01:00
parent e682b2f23c
commit b946f31fc7
6 changed files with 17 additions and 17 deletions

View File

@@ -6,7 +6,7 @@ require 'rails/all'
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Participacion
module Consul
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers

View File

@@ -8,7 +8,7 @@ default: &default
development: &development
<<: *default
database: participacion_development
database: consul_development
# The staging, preproduction and production dbs are only needed
# for running rake assets:precompile locally before deploying
@@ -23,4 +23,4 @@ production:
test:
<<: *default
database: participacion_test
database: consul_test

View File

@@ -1,25 +1,25 @@
staging:
deploy_to: "/var/www/participacion"
deploy_to: "/var/www/consul"
ssh_port: 21
server: staging.participacion.madrid.es
server: staging.consul.madrid.es
user: xxxxx
full_app_name: participacion
server_name: staging.participacion.madrid.es
db_server: postgre.participacion.madrid.es
full_app_name: consul
server_name: staging.consul.madrid.es
db_server: postgre.consul.madrid.es
preproduction:
deploy_to: "/var/www/participacion"
deploy_to: "/var/www/consul"
ssh_port: 2222
server1: xxx.xxx.xxx.xxx
server2: xxx.xxx.xxx.xxx
user: xxxxx
full_app_name: participacion
full_app_name: consul
db_server: xxx.xxx.xxx.xxx
production:
deploy_to: "/var/www/participacion"
deploy_to: "/var/www/consul"
ssh_port: 2222
server: xxx.xxx.xxx.xxx
user: xxxxx
full_app_name: participacion
full_app_name: consul

View File

@@ -10,7 +10,7 @@ set :rails_env, fetch(:stage)
set :rvm_ruby_version, '2.2.3'
set :rvm_type, :user
set :application, 'participacion'
set :application, 'consul'
set :full_app_name, deploysecret(:full_app_name)
set :server_name, deploysecret(:server_name)

View File

@@ -1,3 +1,3 @@
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_participacion_session'
Rails.application.config.session_store :cookie_store, key: '_consul_session'

View File

@@ -14,7 +14,7 @@ common: &default_settings
# Your application name. Renaming here affects where data displays in New
# Relic. For more details, see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/renaming-applications
app_name: Participacion
app_name: Consul
# To disable the agent regardless of other settings, uncomment the following:
# agent_enabled: false
@@ -28,7 +28,7 @@ common: &default_settings
# If your application has other named environments, configure them here.
development:
<<: *default_settings
app_name: Participacion (Development)
app_name: Consul (Development)
# NOTE: There is substantial overhead when running in developer mode.
# Do not use for production or load testing.
@@ -41,7 +41,7 @@ test:
staging:
<<: *default_settings
app_name: Participacion (Staging)
app_name: Consul (Staging)
production:
<<: *default_settings