uppercase all consul name

This commit is contained in:
decabeza
2017-09-01 12:51:31 +02:00
parent ab013bd48a
commit 5949f7abf0
20 changed files with 54 additions and 54 deletions

View File

@@ -1,12 +1,12 @@
# Customization # Customization
You can modify your own Consul to have your custom visual style, but first you'll have to create a fork from [https://github.com/consul/consul](https://github.com/consul/consul) using Github's "fork" button on top right corner. You can use any other service like Gitlab, but don't forget to put a reference link back to Consul on the footer to comply with project's license (GPL Affero 3). You can modify your own CONSUL to have your custom visual style, but first you'll have to create a fork from [https://github.com/consul/consul](https://github.com/consul/consul) using Github's "fork" button on top right corner. You can use any other service like Gitlab, but don't forget to put a reference link back to CONSUL on the footer to comply with project's license (GPL Affero 3).
We've created an specific structure where you can overwrite and customize the application in a way that will let you keep updating it from Consul's main repository, without having conflicts on code merging or risking loosing your customization changes. We try to make Consul as vanilla as possible to help other developers onboard the codebase. We've created an specific structure where you can overwrite and customize the application in a way that will let you keep updating it from CONSUL's main repository, without having conflicts on code merging or risking loosing your customization changes. We try to make CONSUL as vanilla as possible to help other developers onboard the codebase.
## Special Folders and Files ## Special Folders and Files
In order to customize your Consul fork, you'll make use of some `custom` folders on the following paths: In order to customize your CONSUL fork, you'll make use of some `custom` folders on the following paths:
* `config/locales/custom/` * `config/locales/custom/`
* `app/assets/images/custom/` * `app/assets/images/custom/`
@@ -207,7 +207,7 @@ TODO
## Updating ## Updating
We recommend you to add consul as remote: We recommend you to add CONSUL as remote:
``` ```
git remote add consul https://github.com/consul/consul git remote add consul https://github.com/consul/consul

View File

@@ -1,12 +1,12 @@
# Personalización # Personalización
Puedes modificar consul y ponerle tu propia imagen, para esto debes primero hacer un fork de [https://github.com/consul/consul](https://github.com/consul/consul) creando un repositorio nuevo en Github. Puedes usar otro servicio como Gitlab, pero no te olvides de poner el enlace en el footer a tu repositorio en cumplimiento con la licencia de este proyecto (GPL Affero 3). Puedes modificar CONSUL y ponerle tu propia imagen, para esto debes primero hacer un fork de [https://github.com/consul/consul](https://github.com/consul/consul) creando un repositorio nuevo en Github. Puedes usar otro servicio como Gitlab, pero no te olvides de poner el enlace en el footer a tu repositorio en cumplimiento con la licencia de este proyecto (GPL Affero 3).
Hemos creado una estructura específica donde puedes sobreescribir y personalizar la aplicación para que puedas actualizar sin que tengas problemas al hacer merge y se sobreescriban por error tus cambios. Intentamos que Consul sea una aplicación Ruby on Rails lo más plain vanilla posible para facilitar el acceso de nuevas desarrolladoras. Hemos creado una estructura específica donde puedes sobreescribir y personalizar la aplicación para que puedas actualizar sin que tengas problemas al hacer merge y se sobreescriban por error tus cambios. Intentamos que CONSUL sea una aplicación Ruby on Rails lo más plain vanilla posible para facilitar el acceso de nuevas desarrolladoras.
## Ficheros y directorios especiales ## Ficheros y directorios especiales
Para adaptarlo puedes hacerlo a través de los directorios que están en custom dentro de: Para adaptar tu fork de CONSUL puedes utilizar alguno de los directorios `custom` que están en las rutas:
* `config/locales/custom/` * `config/locales/custom/`
* `app/assets/images/custom/` * `app/assets/images/custom/`
@@ -207,7 +207,7 @@ TODO
## Actualizar ## Actualizar
Te recomendamos que agregues el remote de consul para facilitar este proceso de merge: Te recomendamos que agregues el remote de CONSUL para facilitar este proceso de merge:
``` ```
git remote add consul https://github.com/consul/consul git remote add consul https://github.com/consul/consul

View File

@@ -1,6 +1,6 @@
![Logo of Consul](https://raw.githubusercontent.com/consul/consul/master/public/consul_logo.png) ![Logo of CONSUL](https://raw.githubusercontent.com/consul/consul/master/public/consul_logo.png)
# Consul # CONSUL
Citizen Participation and Open Government Application Citizen Participation and Open Government Application
@@ -17,7 +17,7 @@ Citizen Participation and Open Government Application
[![Join the chat at https://gitter.im/consul/consul](https://badges.gitter.im/consul/consul.svg)](https://gitter.im/consul/consul?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Join the chat at https://gitter.im/consul/consul](https://badges.gitter.im/consul/consul.svg)](https://gitter.im/consul/consul?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/consul/consul/issues?q=is%3Aissue+is%3Aopen+label%3APRs-welcome) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/consul/consul/issues?q=is%3Aissue+is%3Aopen+label%3APRs-welcome)
This is the opensource code repository of the eParticipation website originally developed for the Madrid City government eParticipation website This is the opensource code repository of the eParticipation website CONSUL, originally developed for the Madrid City government eParticipation website
## Current state ## Current state

View File

@@ -1,6 +1,6 @@
![Logotipo de Consul](https://raw.githubusercontent.com/consul/consul/master/public/consul_logo.png) ![Logotipo de CONSUL](https://raw.githubusercontent.com/consul/consul/master/public/consul_logo.png)
# Consul # CONSUL
Aplicación de Participación Ciudadana y Gobierno Abierto Aplicación de Participación Ciudadana y Gobierno Abierto
@@ -17,7 +17,7 @@ Aplicación de Participación Ciudadana y Gobierno Abierto
[![Join the chat at https://gitter.im/consul/consul](https://badges.gitter.im/consul/consul.svg)](https://gitter.im/consul/consul?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Join the chat at https://gitter.im/consul/consul](https://badges.gitter.im/consul/consul.svg)](https://gitter.im/consul/consul?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/consul/consul/issues?q=is%3Aissue+is%3Aopen+label%3APRs-welcome) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/consul/consul/issues?q=is%3Aissue+is%3Aopen+label%3APRs-welcome)
Este es el repositorio de código abierto de la Aplicación de Participación Ciudadana Consul, creada originariamente por el 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

@@ -35,7 +35,7 @@ module Consul
config.time_zone = 'Madrid' config.time_zone = 'Madrid'
config.active_job.queue_adapter = :delayed_job config.active_job.queue_adapter = :delayed_job
# Consul specific custom overrides # CONSUL specific custom overrides
# Read more on documentation: # Read more on documentation:
# * English: https://github.com/consul/consul/blob/master/CUSTOMIZE_EN.md # * English: https://github.com/consul/consul/blob/master/CUSTOMIZE_EN.md
# * Spanish: https://github.com/consul/consul/blob/master/CUSTOMIZE_ES.md # * Spanish: https://github.com/consul/consul/blob/master/CUSTOMIZE_ES.md

View File

@@ -872,7 +872,7 @@ en:
content_blocks: content_blocks:
form: form:
content_blocks_information: Information about content blocks content_blocks_information: Information about content blocks
content_block_about: You can create HTML content blocks to be inserted in the header or the footer of your Consul. content_block_about: You can create HTML content blocks to be inserted in the header or the footer of your CONSUL.
content_block_top_links_html: "<strong>Header blocks (top_links)</strong> are blocks of links that must have this format:" content_block_top_links_html: "<strong>Header blocks (top_links)</strong> are blocks of links that must have this format:"
content_block_footer_html: "<strong>Footer blocks</strong> can have any format and can be used to insert Javascript, CSS or custom HTML." content_block_footer_html: "<strong>Footer blocks</strong> can have any format and can be used to insert Javascript, CSS or custom HTML."
create: create:

View File

@@ -177,10 +177,10 @@ en:
footer: footer:
accessibility: Accessibility accessibility: Accessibility
conditions: Terms and conditions of use conditions: Terms and conditions of use
consul: Consul application consul: CONSUL application
consul_url: https://github.com/consul/consul consul_url: https://github.com/consul/consul
contact_us: For technical assistance enters contact_us: For technical assistance enters
copyright: Consul, %{year} copyright: CONSUL, %{year}
description: This portal uses the %{consul} which is %{open_source}. description: This portal uses the %{consul} which is %{open_source}.
faq: technical assistance faq: technical assistance
open_data_text: Every detail about the City Council is yours to access. open_data_text: Every detail about the City Council is yours to access.
@@ -205,7 +205,7 @@ en:
external_link_transparency: Transparency external_link_transparency: Transparency
external_link_transparency_url: https://transparency.consul external_link_transparency_url: https://transparency.consul
locale: 'Language:' locale: 'Language:'
logo: Consul logo logo: CONSUL logo
management: Management management: Management
moderation: Moderation moderation: Moderation
valuation: Valuation valuation: Valuation

View File

@@ -23,7 +23,7 @@ en:
document_verifications: document_verifications:
already_verified: This user account is already verified. already_verified: This user account is already verified.
has_no_account_html: In order to create an account, go to %{link} and click in <b>'Register'</b> in the upper-left part of the screen. has_no_account_html: In order to create an account, go to %{link} and click in <b>'Register'</b> in the upper-left part of the screen.
link: Consul link: CONSUL
in_census_has_following_permissions: 'This user can participate in the website with the following permissions:' in_census_has_following_permissions: 'This user can participate in the website with the following permissions:'
not_in_census: This document is not registered. not_in_census: This document is not registered.
not_in_census_info: 'Citizens not in the Census can participate in the website with the following permissions:' not_in_census_info: 'Citizens not in the Census can participate in the website with the following permissions:'

View File

@@ -63,9 +63,9 @@ en:
text: |- text: |-
Use it in your local government or help us to improve it, it is free software. Use it in your local government or help us to improve it, it is free software.
This Open Government Portal use the [Consul app](https://github.com/ayuntamientomadrid 'consul github') that is free software, with [licence AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html 'AGPLv3 gnu' ), that means in simple words that anyone can use the code freely, copy it, see it in detail, modify it and redistribute it to the word with the modifications he wants (allowing others to do the same). Because we think culture is better and richer when it is released. This Open Government Portal use the [CONSUL app](https://github.com/ayuntamientomadrid 'consul github') that is free software, with [licence AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html 'AGPLv3 gnu' ), that means in simple words that anyone can use the code freely, copy it, see it in detail, modify it and redistribute it to the word with the modifications he wants (allowing others to do the same). Because we think culture is better and richer when it is released.
If you are a programmer, you can see the code and help us to improve it at [Consul app](https://github.com/ayuntamientomadrid 'consul github'). If you are a programmer, you can see the code and help us to improve it at [CONSUL app](https://github.com/ayuntamientomadrid 'consul github').
titles: titles:
how_to_use: Use it in your local government how_to_use: Use it in your local government
privacy: Privacy Policy privacy: Privacy Policy

View File

@@ -872,7 +872,7 @@ es:
content_blocks: content_blocks:
form: form:
content_blocks_information: Información sobre los bloques de texto content_blocks_information: Información sobre los bloques de texto
content_block_about: Puedes crear bloques de HTML que se incrustarán en la cabecera o el pie de tu Cónsul. content_block_about: Puedes crear bloques de HTML que se incrustarán en la cabecera o el pie de tu CONSUL.
content_block_top_links_html: "Los <strong>bloques de la cabecera (top_links)</strong> son bloques de enlaces que deben crearse con este formato:" content_block_top_links_html: "Los <strong>bloques de la cabecera (top_links)</strong> son bloques de enlaces que deben crearse con este formato:"
content_block_footer_html: "Los <strong>bloques del pie (footer)</strong> pueden tener cualquier formato y se pueden utilizar para guardar huellas Javascript, contenido CSS o contenido HTML personalizado." content_block_footer_html: "Los <strong>bloques del pie (footer)</strong> pueden tener cualquier formato y se pueden utilizar para guardar huellas Javascript, contenido CSS o contenido HTML personalizado."
create: create:

View File

@@ -177,10 +177,10 @@ es:
footer: footer:
accessibility: Accesibilidad accessibility: Accesibilidad
conditions: Condiciones de uso conditions: Condiciones de uso
consul: aplicación Consul consul: aplicación CONSUL
consul_url: https://github.com/consul/consul consul_url: https://github.com/consul/consul
contact_us: Para asistencia técnica entra en contact_us: Para asistencia técnica entra en
copyright: Consul, %{year} copyright: CONSUL, %{year}
description: Este portal usa la %{consul} que es %{open_source}. description: Este portal usa la %{consul} que es %{open_source}.
faq: Asistencia técnica faq: Asistencia técnica
open_data_text: Todos los datos del Ayuntamiento son tuyos. open_data_text: Todos los datos del Ayuntamiento son tuyos.
@@ -205,7 +205,7 @@ es:
external_link_transparency: Transparencia external_link_transparency: Transparencia
external_link_transparency_url: https://transparency.consul external_link_transparency_url: https://transparency.consul
locale: 'Idioma:' locale: 'Idioma:'
logo: Consul logo logo: CONSUL logo
management: Gestión management: Gestión
moderation: Moderar moderation: Moderar
valuation: Evaluación valuation: Evaluación

View File

@@ -23,7 +23,7 @@ es:
document_verifications: document_verifications:
already_verified: Esta cuenta de usuario ya está verificada. already_verified: Esta cuenta de usuario ya está verificada.
has_no_account_html: Para crear un usuario entre en %{link} y haga clic en la opción <b>'Registrarse'</b> en la parte superior derecha de la pantalla. has_no_account_html: Para crear un usuario entre en %{link} y haga clic en la opción <b>'Registrarse'</b> en la parte superior derecha de la pantalla.
link: Consul link: CONSUL
in_census_has_following_permissions: 'Este usuario puede participar en el Portal de Gobierno Abierto con las siguientes posibilidades:' in_census_has_following_permissions: 'Este usuario puede participar en el Portal de Gobierno Abierto con las siguientes posibilidades:'
not_in_census: Este documento no está registrado. not_in_census: Este documento no está registrado.
not_in_census_info: 'Las personas no empadronadas pueden participar en el Portal de Gobierno Abierto con las siguientes posibilidades:' not_in_census_info: 'Las personas no empadronadas pueden participar en el Portal de Gobierno Abierto con las siguientes posibilidades:'

View File

@@ -63,9 +63,9 @@ es:
text: |- text: |-
Utilízalo en tu municipio libremente o ayúdanos a mejorarlo, es software libre. Utilízalo en tu municipio libremente o ayúdanos a mejorarlo, es software libre.
Este Portal de Gobierno Abierto usa la [aplicación Consul](https://github.com/ayuntamientomadrid 'github consul') que es software libre, con [licencia AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html 'AGPLv3 gnu' ), esto significa en palabras sencillas, que cualquiera puede libremente usar el código, copiarlo, verlo en detalle, modificarlo, y redistribuirlo al mundo con las modificaciones que quiera (manteniendo el que otros puedan a su vez hacer lo mismo). Porque creemos que la cultura es mejor y más rica cuando se libera. Este Portal de Gobierno Abierto usa la [aplicación CONSUL](https://github.com/ayuntamientomadrid 'github consul') que es software libre, con [licencia AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html 'AGPLv3 gnu' ), esto significa en palabras sencillas, que cualquiera puede libremente usar el código, copiarlo, verlo en detalle, modificarlo, y redistribuirlo al mundo con las modificaciones que quiera (manteniendo el que otros puedan a su vez hacer lo mismo). Porque creemos que la cultura es mejor y más rica cuando se libera.
Si eres programador, puedes ver el código y ayudarnos a mejorarlo en [aplicación Consul](https://github.com/ayuntamientomadrid 'github consul'). Si eres programador, puedes ver el código y ayudarnos a mejorarlo en [aplicación CONSUL](https://github.com/ayuntamientomadrid 'github consul').
titles: titles:
how_to_use: Utilízalo en tu municipio how_to_use: Utilízalo en tu municipio
privacy: Política de Privacidad privacy: Política de Privacidad

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: Consul 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: Consul (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: Consul (Staging) app_name: CONSUL (Staging)
production: production:
<<: *default_settings <<: *default_settings

View File

@@ -18,13 +18,13 @@ Setting.create(key: 'comments_body_max_length', value: '1000')
Setting.create(key: 'twitter_handle', value: '@consul_dev') Setting.create(key: 'twitter_handle', value: '@consul_dev')
Setting.create(key: 'twitter_hashtag', value: '#consul_dev') Setting.create(key: 'twitter_hashtag', value: '#consul_dev')
Setting.create(key: 'facebook_handle', value: 'consul') Setting.create(key: 'facebook_handle', value: 'CONSUL')
Setting.create(key: 'youtube_handle', value: 'consul') Setting.create(key: 'youtube_handle', value: 'CONSUL')
Setting.create(key: 'telegram_handle', value: 'consul') Setting.create(key: 'telegram_handle', value: 'CONSUL')
Setting.create(key: 'instagram_handle', value: 'consul') Setting.create(key: 'instagram_handle', value: 'CONSUL')
Setting.create(key: 'blog_url', value: '/blog') Setting.create(key: 'blog_url', value: '/blog')
Setting.create(key: 'url', value: 'http://localhost:3000') Setting.create(key: 'url', value: 'http://localhost:3000')
Setting.create(key: 'org_name', value: 'Consul') Setting.create(key: 'org_name', value: 'CONSUL')
Setting.create(key: 'place_name', value: 'City') Setting.create(key: 'place_name', value: 'City')
Setting.create(key: 'feature.debates', value: "true") Setting.create(key: 'feature.debates', value: "true")
Setting.create(key: 'feature.polls', value: "true") Setting.create(key: 'feature.polls', value: "true")
@@ -39,7 +39,7 @@ Setting.create(key: 'feature.legislation', value: "true")
Setting.create(key: 'per_page_code_head', value: "") Setting.create(key: 'per_page_code_head', value: "")
Setting.create(key: 'per_page_code_body', value: "") Setting.create(key: 'per_page_code_body', value: "")
Setting.create(key: 'comments_body_max_length', value: '1000') Setting.create(key: 'comments_body_max_length', value: '1000')
Setting.create(key: 'mailer_from_name', value: 'Consul') Setting.create(key: 'mailer_from_name', value: 'CONSUL')
Setting.create(key: 'mailer_from_address', value: 'noreply@consul.dev') Setting.create(key: 'mailer_from_address', value: 'noreply@consul.dev')
Setting.create(key: 'meta_description', value: 'Citizen Participation and Open Government Application') Setting.create(key: 'meta_description', value: 'Citizen Participation and Open Government Application')
Setting.create(key: 'meta_keywords', value: 'citizen participation, open government') Setting.create(key: 'meta_keywords', value: 'citizen participation, open government')

View File

@@ -58,11 +58,11 @@ Setting["opendata_url"] = "/opendata"
# Public-facing URL of the app. # Public-facing URL of the app.
Setting["url"] = "http://example.com" Setting["url"] = "http://example.com"
# Consul installation's organization name # CONSUL installation's organization name
Setting["org_name"] = "Consul" Setting["org_name"] = "CONSUL"
# Consul installation place name (City, Country...) # CONSUL installation place name (City, Country...)
Setting["place_name"] = "Consul-land" Setting["place_name"] = "CONSUL-land"
# Meta tags for SEO # Meta tags for SEO
Setting["meta_description"] = nil Setting["meta_description"] = nil
@@ -98,7 +98,7 @@ Setting['proposal_notification_minimum_interval_in_days'] = 3
Setting['direct_message_max_per_day'] = 3 Setting['direct_message_max_per_day'] = 3
# Email settings # Email settings
Setting['mailer_from_name'] = 'Consul' Setting['mailer_from_name'] = 'CONSUL'
Setting['mailer_from_address'] = 'noreply@consul.dev' Setting['mailer_from_address'] = 'noreply@consul.dev'
# Verification settings # Verification settings

View File

@@ -8,7 +8,7 @@
## Funcionalidades ## Funcionalidades
Actualmente Consul soporta: Actualmente CONSUL soporta:
* Registro y verificación de usuarios tanto en la misma aplicación como con distintos proveedores (Twitter, Facebook, Google). * Registro y verificación de usuarios tanto en la misma aplicación como con distintos proveedores (Twitter, Facebook, Google).
* Distintos perfiles de usuario, tanto ciudadanos individuales como organizaciones y cargos públicos. * Distintos perfiles de usuario, tanto ciudadanos individuales como organizaciones y cargos públicos.
@@ -54,7 +54,7 @@ Dentro de su perfil ("Mi cuenta" en el menú superior) cada usuario puede config
## Perfiles de administrador, moderador y gestor ## Perfiles de administrador, moderador y gestor
Consul cuenta con tres perfiles de usuario para administrar contenidos de la web: administrador, moderador y gestor. Además tiene otros dos perfiles para gestión de procesos participativos: [evaluador y presidente de mesa](#perfiles_de_evaluador,_gestor_y_presidente_de_mesa), que se detallan más abajo. CONSUL cuenta con tres perfiles de usuario para administrar contenidos de la web: administrador, moderador y gestor. Además tiene otros dos perfiles para gestión de procesos participativos: [evaluador y presidente de mesa](#perfiles_de_evaluador,_gestor_y_presidente_de_mesa), que se detallan más abajo.
Los usuarios con perfil de administrador pueden asignar cualquier tipo de perfil a cualquier tipo de usuario. Sin embargo, todos los perfiles tienen que ser usuarios verificados (contrastados con el padrón municipal) para poder realizar ciertas acciones (por ejemplo, los gestores necesitan estar verificados para crear propuestas de inversión). Los usuarios con perfil de administrador pueden asignar cualquier tipo de perfil a cualquier tipo de usuario. Sin embargo, todos los perfiles tienen que ser usuarios verificados (contrastados con el padrón municipal) para poder realizar ciertas acciones (por ejemplo, los gestores necesitan estar verificados para crear propuestas de inversión).
@@ -168,11 +168,11 @@ Las páginas sirven para mostrar cualquier tipo de contenido estático relativo
##### Personalizar imágenes ##### Personalizar imágenes
Desde este panel se definen las imágenes de los elementos corporativos de tu Consul. Desde este panel se definen las imágenes de los elementos corporativos de tu CONSUL.
##### Personalizar bloques ##### Personalizar bloques
Puedes crear bloques de HTML que se incrustarán en la cabecera o el pie de tu Cónsul. Puedes crear bloques de HTML que se incrustarán en la cabecera o el pie de tu CONSUL.
Los bloques de la cabecera (top_links) son bloques de enlaces que deben crearse con este formato: Los bloques de la cabecera (top_links) son bloques de enlaces que deben crearse con este formato:

View File

@@ -30,7 +30,7 @@
## GraphQL ## GraphQL
The Consul API uses GraphQL [http://graphql.org](http://graphql.org), the [Ruby implementation](http://graphql-ruby.org/), to be specific. If you're not familiar with this kind of APIs, it's recommended to make some research about GraphQL before. The CONSUL API uses GraphQL [http://graphql.org](http://graphql.org), the [Ruby implementation](http://graphql-ruby.org/), to be specific. If you're not familiar with this kind of APIs, it's recommended to make some research about GraphQL before.
One of the characteristics that differentiates a REST API from a GraphQL one is that with the last one it's possible for the client to build its own *custom queries*, so the server will only return information in which we're interested. One of the characteristics that differentiates a REST API from a GraphQL one is that with the last one it's possible for the client to build its own *custom queries*, so the server will only return information in which we're interested.
@@ -68,7 +68,7 @@ Responses are formatted in JSON:
## Making API requests ## Making API requests
Following [the official recommendations](http://graphql.org/learn/serving-over-http/), the Consul API supports the following kind of requests: Following [the official recommendations](http://graphql.org/learn/serving-over-http/), the CONSUL API supports the following kind of requests:
* GET requests, with the query inside the *query string*. * GET requests, with the query inside the *query string*.
* POST requests * POST requests

View File

@@ -30,7 +30,7 @@
## GraphQL ## GraphQL
La API de Consul utiliza GraphQL [http://graphql.org](https://graphql.org), en concreto la [implementación en Ruby](http://graphql-ruby.org/). Si no estás familiarizado con este tipo de APIs, es recomendable investigar un poco sobre GraphQL previamente. La API de CONSUL utiliza GraphQL [http://graphql.org](https://graphql.org), en concreto la [implementación en Ruby](http://graphql-ruby.org/). Si no estás familiarizado con este tipo de APIs, es recomendable investigar un poco sobre GraphQL previamente.
Una de las caracteríticas que diferencian una API REST de una GraphQL es que con esta última es posible construir *consultas personalizadas*, de forma que el servidor nos devuelva únicamente la información en la que estamos interesados. Una de las caracteríticas que diferencian una API REST de una GraphQL es que con esta última es posible construir *consultas personalizadas*, de forma que el servidor nos devuelva únicamente la información en la que estamos interesados.
@@ -68,7 +68,7 @@ Las respuestas son en formato JSON:
## Haciendo peticiones a la API ## Haciendo peticiones a la API
Siguiendo las [directrices oficiales](http://graphql.org/learn/serving-over-http/), la API de Consul soporta los siguientes tipos de peticiones: Siguiendo las [directrices oficiales](http://graphql.org/learn/serving-over-http/), la API de CONSUL soporta los siguientes tipos de peticiones:
* Peticiones GET, con la consulta dentro del *query string*. * Peticiones GET, con la consulta dentro del *query string*.
* Peticiones POST * Peticiones POST

View File

@@ -88,7 +88,7 @@ apt-get install postgresql-9.4
## Cloning the repository ## Cloning the repository
Now, with all the dependencies installed, clone the Consul repository: Now, with all the dependencies installed, clone the CONSUL repository:
``` ```
git clone https://github.com/consul/consul.git git clone https://github.com/consul/consul.git