Discover Packages
github.com/GoogleCloudPlatform/gcloud-golang-todos
module
Version:
v0.0.0-...-be1536b
Opens a new window with list of versions in this module.
Published: Jun 14, 2016
License: Apache-2.0
Opens a new window with license information.
README
README
¶
This project is no longer actively developed or maintained.
gcloud-golang-todos
TodoMVC backend using gcloud-golang .
Prerequisites
Set up a Go installation and workspace .
Install the Cloud SDK . If necessary, running the following will install
the Developer Preview commands and the App Engine SDK for Go.
gcloud components update preview gae-go
Create a new cloud project on console.developers.google.com .
Export your project id:
gcloud config set project <project id>
Clone the repository by running the following command:
go get -u github.com/GoogleCloudPlatform/gcloud-golang-todos
Initialize the todomvc
submodule. Since TodoMVC is linked within this repository as a git submodule, we need
to fetch its codebase separately:
cd $GOPATH/src/github.com/GoogleCloudPlatform/gcloud-golang-todos
git submodule update --init
Running
# Check that Docker is running.
boot2docker up
$(boot2docker shellinit)
# Download the Docker runtime images for Managed VMs; make sure to select the Go runtime.
gcloud preview app setup-managed-vms
# Run the app.
gcloud preview app run main
# Open http://localhost:8080/examples/angularjs/index.html in the browser!
Todo
Determine a reasonable testing strategy. Either wait for an aetest port, or develop something more involved.
Contributing changes
Licensing
Expand ▾
Collapse ▴
Directories
¶
+build appenginevm This package implements a simple HTTP server providing a REST API to a todo handler.
+build appenginevm This package implements a simple HTTP server providing a REST API to a todo handler.
Package todo provides a type and several functions for interacting with todos backed by the Appengine Datastore.
Package todo provides a type and several functions for interacting with todos backed by the Appengine Datastore.
Click to show internal directories.
Click to hide internal directories.