bigtable-hello

command
v0.0.0-...-a0f1544 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

README

Cloud Bigtable on App Engine Flexible using Go

(Hello World for Cloud Bigtable)

This app counts how often each user visits.

Prerequisites

  1. Set up Cloud Console.
  2. Go to the Cloud Console and create or select your project. You will need the project ID later.
  3. Go to Settings > Project Billing Settings and enable billing.
  4. Select APIs & Auth > APIs.
  5. Enable the Cloud Bigtable API and the Cloud Bigtable Admin API. (You may need to search for the API).
  6. Set up gcloud.
  7. gcloud init
  8. Download App Engine SDK for Go.
  9. go get -u google.golang.org/appengine/...
  10. In helloworld.go, change the constants project, zone and cluster

Running locally

  1. From the sample project folder, go run *.go

Deploying on Google App Engine Flexible

  1. From the sample project folder, aedeploy gcloud app deploy

Documentation

Overview

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL