This app counts how often each user visits. The app uses Cloud Bigtable to store the visit counts for each user.
- Set up Cloud Console.
- Go to the Cloud Console and create or select your project. You will need the project ID later.
- Go to Settings > Project Billing Settings and enable billing.
- Select APIs & Auth > APIs.
- Enable the Cloud Bigtable API and the Cloud Bigtable Admin API. (You may need to search for the API).
- Set up gcloud.
gcloud components update
gcloud auth login
gcloud config set project PROJECT_ID
- Download App Engine SDK for Go.
go get -u google.golang.org/appengine/...
- In main.go, change the
project
andinstance
constants.
- From the sample project folder,
dev_appserver.py app.yaml
.
Follow the deployment instructions.