- 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
- Enable billing for your project
- Enable the YouTube Data API c3.
- Create an API key.
- Install the Google Cloud SDK.
-
Clone the project:
git clone https://github.com/googlecodelabs/cloud-cardboard-viewer.git
-
Change directory into the project folder:
cd cloud-cardboard-viewer
-
Install dependencies:
npm install
-
Start the server:
export API_KEY=YOUR_API_KEY npm start
or
API_KEY=YOUR_API_KEY npm start
replacing
YOUR_API_KEY
with your API key. -
View the app at http://localhost:8080.
- Set
API_KEY
environment variables in theapp.yaml
file. - Run
gcloud app deploy
.
Apache Version 2.0
See LICENSE.
This is not an official Google product