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
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)
[![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)
[![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

View File

@@ -1,13 +1,13 @@
# 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)
[![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)
[![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

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