CTRBot based on Dialogflow
Run npm i
to install all dependencies
Run npm run start:local
to run application on local environment
To enable watch mode (after the initial build it will continue to transpile TypesScript to JavaScript and listen to it changes)
run these to commands in a separate terminals:
npm run watch-ts
to watch TypesScript changesnpm run watch-node
to watch compiled JavaScript changes
gcloud beta functions deploy webhookHandler --runtime nodejs8 --trigger-http --memory 128MB --env-vars-file .env.yaml