Merge pull request #724 from consul/consulize

Consulize
This commit is contained in:
Raimond Garcia
2015-11-25 03:54:19 -08:00
8 changed files with 21 additions and 21 deletions

View File

@@ -1,13 +1,13 @@
# Consul # Consul
Madrid City Council participation site Citizen Particition and Open Government Application
[![Build Status](https://travis-ci.org/consul/consul.svg?branch=master)](https://travis-ci.org/consul/consul) [![Build Status](https://travis-ci.org/consul/consul.svg?branch=master)](https://travis-ci.org/consul/consul)
[![Code Climate](https://codeclimate.com/github/consul/consul/badges/gpa.svg)](https://codeclimate.com/github/consul/consul) [![Code Climate](https://codeclimate.com/github/consul/consul/badges/gpa.svg)](https://codeclimate.com/github/consul/consul)
[![Dependency Status](https://gemnasium.com/consul/consul.svg)](https://gemnasium.com/consul/consul) [![Dependency Status](https://gemnasium.com/consul/consul.svg)](https://gemnasium.com/consul/consul)
[![Coverage Status](https://coveralls.io/repos/consul/consul/badge.svg?branch=master&service=github)](https://coveralls.io/github/consul/consul?branch=master) [![Coverage Status](https://coveralls.io/repos/consul/consul/badge.svg?branch=master&service=github)](https://coveralls.io/github/consul/consul?branch=master)
This is the opensource code repository of Madrid City government eParticipation website This is the opensource code repository of the eParticipation website originally developed for the Madrid City government eParticipation website
## Current state ## Current state

View File

@@ -1,13 +1,13 @@
# Consul # Consul
Gobierno abierto del Ayuntamiento de Madrid Aplicación de Participación Ciudadana y Gobierno Abierto
[![Build Status](https://travis-ci.org/consul/consul.svg?branch=master)](https://travis-ci.org/consul/consul) [![Build Status](https://travis-ci.org/consul/consul.svg?branch=master)](https://travis-ci.org/consul/consul)
[![Code Climate](https://codeclimate.com/github/consul/consul/badges/gpa.svg)](https://codeclimate.com/github/consul/consul) [![Code Climate](https://codeclimate.com/github/consul/consul/badges/gpa.svg)](https://codeclimate.com/github/consul/consul)
[![Dependency Status](https://gemnasium.com/consul/consul.svg)](https://gemnasium.com/consul/consul) [![Dependency Status](https://gemnasium.com/consul/consul.svg)](https://gemnasium.com/consul/consul)
[![Coverage Status](https://coveralls.io/repos/consul/consul/badge.svg?branch=master&service=github)](https://coveralls.io/github/consul/consul?branch=master) [![Coverage Status](https://coveralls.io/repos/consul/consul/badge.svg?branch=master&service=github)](https://coveralls.io/github/consul/consul?branch=master)
Este es el repositorio de código abierto de la Aplicación de Participación Ciudadana del Ayuntamiento de Madrid. Este es el repositorio de código abierto de la Aplicación de Participación Ciudadana Consul, creada originariamente por el Ayuntamiento de Madrid.
## Estado del proyecto ## Estado del proyecto

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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'

View File

@@ -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