Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.73 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.73 KB

GABAKLAR

A Google Action that helps get information on the wind while sailing. It gets the wind speed and wind direction in your current location via the OpenWeatherMap API.

Design Diagram

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes for the live demo.

Prerequisites

Ngrok is required for development. Firebase CLI is required to test the Google Firebase Cloud Functions.

Installation

Setup Firebase CLI: https://firebase.google.com/docs/functions/get-started

Ensure you are in cloned repo folder (cd gabaklar).

Then install and start the function:

npm install
firebase serve --only functions

Open up another shell and run ngrok:

ngrok http 5000

TODO: instructions for DialogFlow https://85574436.ngrok.io/gabaklar-eef92/us-central1/dialogflowFirebaseFulfillment

Tests

Tests are conducted by botium: https://www.botium.at/. Botium gets all the intents from DialogFlow and creates different utterances for each intent. Then tests each utterance to see if the correct intent is captured by DialogFlow.

Deployment

TODO: alpha version instructions https://us-central1-gabaklar-eef92.cloudfunctions.net/dialogflowFirebaseFulfillment

Extra Considerations

Authors

  • Dilan Nebioglu