- Create a new cloud project on console.developers.google.com
- Note your Project ID. You will need it later.
FYI: You can view the content of your project's Cloud Datastore on the Google Developers Console in Storage > Cloud Datastore > Query after adding your first Todos.
Running and deploying
You need to install boot2docker and then install and setup the Google Cloud SDK:
# Get gcloud $ curl https://sdk.cloud.google.com | bash # Authorize gcloud and set your default project $ gcloud auth login $ gcloud config set project <Project ID> # Get App Engine component $ gcloud components update app # Check that Docker is running $ boot2docker up $ $(boot2docker shellinit) # Download the Dart Docker image $ docker pull google/dart-runtime
To run the app locally:
$ gcloud preview app run app.yaml
To open the app locally visit
To deploy the app to production:
$ gcloud preview app deploy app.yaml
To open the app on production visit
The frontend code located in
/lib is a copy of the
version of the TodoMVC frontend and adapted to use the TodoMVC Server API