Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Actions on Google - Mac gactions won't run

I am trying to set up the Actions sdk as described here:

https://developers.google.com/actions/sdk

I downloaded gactions for a Mac 64-bit machine. If I try to open the file, it opens as text. When I am in the folder containing gactions, I try to run gactions init and get the response:

-bash: gactions: command not found

Any thoughts?

like image 559
Alea Avatar asked Nov 25 '25 12:11

Alea


1 Answers

Try this:

  • Download Google gactions cli from gaction CLI
  • On Mac and Linux, to make the binary executable run from terminal: $ cd folder_with_gactions $ chmod +x gactions
  • Execute gactions $ cd folder_with_gactions $ ./gactions init

Also, you may find this tutorial interesting if you are trying to create an action in Google Home : How to create a custom private Google Home Action with API.AI and Google App Engine. In STEP 8 you can find an example of gactions.

like image 137
Sara Avatar answered Nov 28 '25 16:11

Sara



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!