command
Version:
v0.0.0-...-a0f1544
Opens a new window with list of versions in this module.
Published: Jul 11, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Cloud Bigtable on App Engine Flexible using Go
(Hello World for Cloud Bigtable)
This app counts how often each user visits.
Prerequisites
- 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 init
- Download App Engine SDK for Go.
go get -u google.golang.org/appengine/...
- In helloworld.go, change the constants
project
, zone
and cluster
Running locally
- From the sample project folder,
go run *.go
Deploying on Google App Engine Flexible
- From the sample project folder,
aedeploy gcloud app deploy
Documentation
¶
helloworld tracks how often a user has visited the index page.
This program demonstrates usage of the Cloud Bigtable API for App Engine Flexible and Go.
Instructions for running this program are in the README.md.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.