Skip to content

Commit

Permalink
fixed text typos and links.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfraso committed Jul 12, 2019
1 parent 24abb0a commit 5a2bd07
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
11 changes: 7 additions & 4 deletions GoogleAssistantConnector/README.es-es.md
@@ -1,4 +1,5 @@
# Google Assistant Proxy

> [here for English document](README.md)
Instalando y configurando este servicio proxy, podemos interaccionar con nuestro *Bot Framework* desde *Google Assistant*.
Expand All @@ -18,7 +19,7 @@ Para ello, tenemos que crearnos un projecto en *Action on Google* que apunte a n
### 2. Publica el proyecto *GoogleAssitantProxy*.

> También puedes probar el proyecto en local utilizando ***ngrok***. Te enseño cómo [aqui](googleAssistantProxy.deploy.local.es.md).
> También puedes probar el proyecto en local utilizando ***ngrok***. Te enseño cómo [aqui](docs/googleAssistantProxy.deploy.local.es.md).
>
> Una vez que hayas probado la solucción, te recomiendo que la integres dentro de tu proyecto y lo despliegues todo junto utilizando *DevOps*.
Expand All @@ -28,7 +29,7 @@ Para ello, tenemos que crearnos un projecto en *Action on Google* que apunte a n
con el *key secret* del canal *Direct Line* de tu bot.
- Asegurate que la versión de Node sea al menos la 7.10.1 (en Azure mediante el *setting* **WEBSITE_NODE_DEFAULT_VERSION**)

> Te enseño como [aqui](Azure.settings.es.md)
> Te enseño como [aqui](docs/Azure.settings.es.md)
### 4. Configura las plantillas *actions.json*

Expand Down Expand Up @@ -90,12 +91,14 @@ Actualiza las **plantillas de *GoogleAction*** con la url de tu *GoogleAssitantP
### 7. Configura *GoogleAssitantProxy*
Ahora que tenemos toda la infraestructura configurada, vamos a configurar nuestro proxy para que se adapte mejor a nuestro bot.

- Mensajes de bienvenida, etc. [aqui](googleAssistantProxy.messages.es.md)
- Otros posibles settings. [aqui](googleAssistantProxy.settings.es.md)
- Mensajes de bienvenida, etc. [aqui](docs/googleAssistantProxy.messages.es.md)
- Otros posibles settings. [aqui](docs/googleAssistantProxy.settings.es.md)

## Agradecimientos
Muchas gracias a *Capgemini* por el impresionante trabajo que realizaron [aquí](https://github.com/Capgemini-AIE/bot-framework-actions-on-google). Este código está inspirado en su trabajo.

A [@juliapiedrahita](https://twitter.com/juliapiedrahita) por empezar este proyecto y dejarme el trabajo facil.

Por Alberto Fraj ([@alfraso](https://twitter.com/Alfraso)).


7 changes: 5 additions & 2 deletions GoogleAssistantConnector/README.md
@@ -1,4 +1,5 @@
# Google Assistant Proxy

> [here for Spanish document](README.es-es.md)
By installing and configuring this proxy service, we can interact with our *Bot Framework* from *Google Assistant*
Expand Down Expand Up @@ -81,7 +82,7 @@ Update **templates form *GoogleAction*** with url from your *GoogleAssitantProxy
> ![Actions on Google settings](docs/images/Actions-Settings.png) ![Actions on Google project](docs/images/Actions-Project.png)
### 6. Check if it works
Test in the simulator of the[console](https://console.actions.google.com) of 'Actions for Google' and see if it responds.
Test in the simulator of the [console](https://console.actions.google.com) of 'Actions for Google' and see if it responds.

> You can see the ***console in Azure*** in *Advanced Tools*, *Log streaming*
>
Expand All @@ -97,6 +98,8 @@ Update **templates form *GoogleAction*** with url from your *GoogleAssitantProxy
## Recognition
Many thanks to *Capgemini* for the very impressive work they have carried out [here](https://github.com/Capgemini-AIE/bot-framework-actions-on-google). This code was inspired by their work.

To [@juliapiedrahita](https://twitter.com/juliapiedrahita) for starting this project and making the work easier.
To [@juliapiedrahita](https://twitter.com/juliapiedrahita) for starting this project and making the work easier.

By Alberto Fraj ([@alfraso](https://twitter.com/Alfraso)).


4 changes: 2 additions & 2 deletions GoogleAssistantConnector/docs/Azure.settings.es.md
Expand Up @@ -5,9 +5,9 @@

2. Pincha en la opción *Application settings* en la sección *Settings*.

![Azure App Service](/docs/images/Azure-AppService.png)
![Azure App Service](images/Azure-AppService.png)
3. Baja hasta la sección *Application settings* y añade los siguientes valores:
- **DIRECT_LINE_SECRET**: *key secret* del canal *Direct Line* de tu bot
- **WEBSITE_NODE_DEFAULT_VERSION**: 7.10.1

![Azure Application settings](/docs/images/Azure-AppSettings.png)
![Azure Application settings](images/Azure-AppSettings.png)
Expand Up @@ -12,12 +12,12 @@ Podemos hacerlo de dos formas:
```
- En las propiedades del proyecto ***GoogleAssistantProxy*** (recomendado).

![Opciones del proyecto](/docs/images/vs-proyectOptions.png)
![Opciones del proyecto](images/vs-proyectOptions.png)

## 2- Ejecutar el proyecto *GoogleAssistantProxy* en modo debug.
Te deberia abrir la consola de *node.js* indicandote que se ha inicializado el *middelware* de *express* *directLineToActionsOnGoogle* (que es el otro proyecto ;-) ).

![consola node.js](/docs/images/node.js-console.png)
![consola node.js](images/node.js-console.png)

> Al inicializar nuestra librería, te muestra por consola los mensajes que has configurado.
Expand All @@ -26,7 +26,7 @@ Ahora que tenemos nuestro proxy ejecutándose en un puerto local (por defecto el

Para simplificar la configuración, he añadido el comando ***GoogleAssistantProxyLocalTest.cmd*** que directamente genera la url sobre el puerto 1337. Está en Sólo tienes en la carperta *Deploy\Local* de la solución.

![ngrog](/docs/images/vs-ngrog.png)
![ngrog](images/vs-ngrog.png)

> Las urls que nos genera son las que aparacen en ***Forwarding***. Más concretamente la url segura https.
Expand Down Expand Up @@ -68,4 +68,4 @@ otra para español).
}
```

Ahora solo queda continuar con los pasos de la [guía rápida](index.es.md).
Ahora solo queda continuar con los pasos de la [guía rápida](../readme.es-es.md).
Binary file modified GoogleAssistantConnector/docs/images/Actions-Project.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5a2bd07

Please sign in to comment.