changes 'participacion' to 'consul' in config
This commit is contained in:
@@ -6,7 +6,7 @@ require 'rails/all'
|
|||||||
# you've limited to :test, :development, or :production.
|
# you've limited to :test, :development, or :production.
|
||||||
Bundler.require(*Rails.groups)
|
Bundler.require(*Rails.groups)
|
||||||
|
|
||||||
module Participacion
|
module Consul
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
# Settings in config/environments/* take precedence over those specified here.
|
# Settings in config/environments/* take precedence over those specified here.
|
||||||
# Application configuration should go into files in config/initializers
|
# Application configuration should go into files in config/initializers
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ default: &default
|
|||||||
|
|
||||||
development: &development
|
development: &development
|
||||||
<<: *default
|
<<: *default
|
||||||
database: participacion_development
|
database: consul_development
|
||||||
|
|
||||||
# The staging, preproduction and production dbs are only needed
|
# The staging, preproduction and production dbs are only needed
|
||||||
# for running rake assets:precompile locally before deploying
|
# for running rake assets:precompile locally before deploying
|
||||||
@@ -23,4 +23,4 @@ production:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: participacion_test
|
database: consul_test
|
||||||
|
|||||||
@@ -1,25 +1,25 @@
|
|||||||
staging:
|
staging:
|
||||||
deploy_to: "/var/www/participacion"
|
deploy_to: "/var/www/consul"
|
||||||
ssh_port: 21
|
ssh_port: 21
|
||||||
server: staging.participacion.madrid.es
|
server: staging.consul.madrid.es
|
||||||
user: xxxxx
|
user: xxxxx
|
||||||
full_app_name: participacion
|
full_app_name: consul
|
||||||
server_name: staging.participacion.madrid.es
|
server_name: staging.consul.madrid.es
|
||||||
db_server: postgre.participacion.madrid.es
|
db_server: postgre.consul.madrid.es
|
||||||
|
|
||||||
preproduction:
|
preproduction:
|
||||||
deploy_to: "/var/www/participacion"
|
deploy_to: "/var/www/consul"
|
||||||
ssh_port: 2222
|
ssh_port: 2222
|
||||||
server1: xxx.xxx.xxx.xxx
|
server1: xxx.xxx.xxx.xxx
|
||||||
server2: xxx.xxx.xxx.xxx
|
server2: xxx.xxx.xxx.xxx
|
||||||
user: xxxxx
|
user: xxxxx
|
||||||
full_app_name: participacion
|
full_app_name: consul
|
||||||
db_server: xxx.xxx.xxx.xxx
|
db_server: xxx.xxx.xxx.xxx
|
||||||
|
|
||||||
production:
|
production:
|
||||||
deploy_to: "/var/www/participacion"
|
deploy_to: "/var/www/consul"
|
||||||
ssh_port: 2222
|
ssh_port: 2222
|
||||||
server: xxx.xxx.xxx.xxx
|
server: xxx.xxx.xxx.xxx
|
||||||
user: xxxxx
|
user: xxxxx
|
||||||
full_app_name: participacion
|
full_app_name: consul
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ set :rails_env, fetch(:stage)
|
|||||||
set :rvm_ruby_version, '2.2.3'
|
set :rvm_ruby_version, '2.2.3'
|
||||||
set :rvm_type, :user
|
set :rvm_type, :user
|
||||||
|
|
||||||
set :application, 'participacion'
|
set :application, 'consul'
|
||||||
set :full_app_name, deploysecret(:full_app_name)
|
set :full_app_name, deploysecret(:full_app_name)
|
||||||
|
|
||||||
set :server_name, deploysecret(:server_name)
|
set :server_name, deploysecret(:server_name)
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Be sure to restart your server when you modify this file.
|
# 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'
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ common: &default_settings
|
|||||||
|
|
||||||
# Your application name. Renaming here affects where data displays in New
|
# 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
|
# 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:
|
# To disable the agent regardless of other settings, uncomment the following:
|
||||||
# agent_enabled: false
|
# agent_enabled: false
|
||||||
@@ -28,7 +28,7 @@ common: &default_settings
|
|||||||
# If your application has other named environments, configure them here.
|
# If your application has other named environments, configure them here.
|
||||||
development:
|
development:
|
||||||
<<: *default_settings
|
<<: *default_settings
|
||||||
app_name: Participacion (Development)
|
app_name: Consul (Development)
|
||||||
|
|
||||||
# NOTE: There is substantial overhead when running in developer mode.
|
# NOTE: There is substantial overhead when running in developer mode.
|
||||||
# Do not use for production or load testing.
|
# Do not use for production or load testing.
|
||||||
@@ -41,7 +41,7 @@ test:
|
|||||||
|
|
||||||
staging:
|
staging:
|
||||||
<<: *default_settings
|
<<: *default_settings
|
||||||
app_name: Participacion (Staging)
|
app_name: Consul (Staging)
|
||||||
|
|
||||||
production:
|
production:
|
||||||
<<: *default_settings
|
<<: *default_settings
|
||||||
|
|||||||
Reference in New Issue
Block a user