This project is no longer actively developed or maintained.
TodoMVC backend using gcloud-golang.
-
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
# 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!
- Determine a reasonable testing strategy. Either wait for an aetest port, or develop something more involved.
- See CONTRIB.md
- See LICENSE