이 가이드에서는 환경을 설정하여 작업을 빌드하는 방법을 설명합니다.
Actions SDK와 Actions Builder를 모두 사용할 수 있습니다. 다음 작업을 수행합니다.
Node.js 설치: Node.js를 사용하려면 이 런타임 환경이 필요합니다.
fulfillment 라이브러리를 제공합니다.
Firebase CLI 설치: 이 명령줄 도구를 사용하면
Interactive Canvas용 웹 앱과 같은 Firebase 종속 항목을 배포하여
Firebase 호스팅으로 이동합니다.
gactions 명령줄 도구 설치: 작업을 사용하여 개발하는 경우
SDK를 사용한다면 이 도구를 사용하여
있습니다.
작업 프로젝트 만들기:작업 프로젝트는 논리적 컨테이너입니다.
확인할 수 있습니다. 먼저 Actions 콘솔에서 계정을 만들어야 합니다.
빌드를 시작할 수 있습니다
샘플 초기화 및 배포: 이 간단한 샘플은 샘플 SDK를
Interactive Canvas로 작업을 빌드하기 시작했습니다
이 빠른 시작을 완료하면
로컬 개발 환경 및 Actions Builder의 웹 환경에 적응할 수 있습니다.
Node.js 및 Firebase CLI 설치
Node.js에 따라 Node.js 다운로드 및 설치
Google의 처리 라이브러리 사용 설명서를 참조하세요. Node.js 설치도
를 사용하면 npm으로 Firebase CLI를 설치하고 이상에서는 명령어를 실행하여
대화형 fulfillment 구현을 제공합니다.
요구사항에 따라 Firebase CLI를 설치 및 설정합니다.
참조하세요. Firebase CLI를 사용하면 양방향
캔버스 웹 앱을 Firebase 호스팅에 추가하고 필요한 경우 수동으로 배포
fulfillment를 Firebase용 Cloud Functions에 추가합니다.
gactions 명령줄 도구 설치
다음을 다운로드하여 gactions 명령줄 인터페이스 (CLI) 도구를 설치합니다.
실행 경로를 구성하고, 압축을 풀고, 실행 경로를 구성할 수 있습니다.
[null,null,["최종 업데이트: 2024-09-12(UTC)"],[[["This guide helps you set up your environment for building Google Actions using the Actions SDK and Actions Builder."],["You'll install necessary tools like Node.js, Firebase CLI, and the `gactions` command-line tool."],["The guide includes steps to create an Actions project, initialize a sample, and deploy it for testing in the Actions simulator."],["You'll learn to deploy the Interactive Canvas web app to Firebase Hosting and push your local Actions project to the console."],["After completing the setup, you can preview and test your Action in the Actions simulator by invoking it with a specific phrase."]]],[]]