See the developer guide and release notes at https://developers.google.com/actions/ for more details.
Add your first action
CREATE(continued from above step)
export and import, then click
restore from zip.
models/dialogflow/and use that zip to restore the project.
Run server local with colorful logs
npm install -g firebase-tools
touch functions/.runtimeconfig.jsonand add fake keys (temporary workaround) refer this
firebase init(remove .firebaserc first)
firebase use --add(and choose your own firebase project)
DEBUG=ia:* npm start
To expose server to google assistant use ngrok its free plan should be enough.
To publish 5000 port use:
ngrok http 5000
you should find url
Go to the fullfillment section of your dialogflow draft copy of our app and after that you should use this url:
https://<id>.ngrok.io/<your project name>/us-central1/assistant
firebase functions:config:set performance.requests=true
🔍 get one good first issue assign yourself (if you have access) or write comment that you'd like to work on this issue. That's help to prevent work overlapping.
create git branch
💻 working on it
Use Mocha for continuous checking of your code quality and cover functionality by tests
npm run mocha -- --watch
☕️ Complete checking of code by run unit tests and code style checking
Automatic style fixing, it doesn't solve all problems but could be very helpful
npm run lint -- --fix
🎉 Finally make Pull Request and give complete description what have you done and link the addressed issue.
Also it could be good practice to create your Pull Request earlier,
WIP: at the beginning of its name! This way other developers
could see what are you working right now.