- Node.js and NPM
- recommend installing using nvm for Linux/Mac and nvm-windows for Windows
- Install the Firebase CLI
- We recommend using MAJOR version
8
,npm install -g firebase-tools@^8.0.0
- Run
firebase login
with your Google account
- We recommend using MAJOR version
- From the Actions on Google Console, New project > Create project > under What kind of Action do you want to build? > Custom > Blank project
- Install the Actions CLI
- Navigate to
settings/settings.yaml
, and replace<PROJECT_ID>
with your project ID - Run
gactions login
to login to your account. - Run
gactions push
to push your project. - Run
gactions deploy preview
to deploy the project.
- Go the to google cloud console.
- Select the project that this action is setup within.
- Select the cloud function that is deployed from the google actions console.
- Edit the cloud function.
- Within the Variables, Networking and Advanced Settings area select Environment Variables.
- Enter a new variable named API_HOST and enter the domain name of the server that runs AudioStation i.e. xyz.synology.me