- Create a Google Account if you don't have one
- Sign up for the free trial
- Create a project in the Google Cloud Platform Console.
- Open the Cloud Platform Console.
- In the dropdown menu at the top, select Create a project.
- Give your project a name
- Make note of the projectId, which might be different from the project name. The projectId is used in commands and configurations.
- Enable billing for your project
- Enable the Stackdriver Trace API.
- Enable the YouTube Data API c3.
- Create an API Key.
git clone https://github.com/googlecodelabs/cloud-cardboard-viewer.git
cd cloud-cardboard-viewer
npm install
API_KEY=<your-api-key> GCLOUD_PROJECT=<your-project-id> npm start
View the app at http://localhost:8080.
- Set the
GCLOUD_PROJECT
andAPI_KEY
environment variables in theapp.yaml
file. - Run
gcloud app deploy
.
First deployment may take a while as your load balancer needs to be created.
Apache Version 2.0
See LICENSE.
This is not an official Google product