Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

googlearchive/gcloud-golang-todos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

status: inactive

This project is no longer actively developed or maintained.

gcloud-golang-todos

TodoMVC backend using gcloud-golang.

Prerequisites

  1. Set up a Go installation and workspace.

  2. 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
  3. Create a new cloud project on console.developers.google.com.

  4. Export your project id:

    gcloud config set project <project id>
  5. Clone the repository by running the following command:

    go get -u github.com/GoogleCloudPlatform/gcloud-golang-todos
  6. 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages