A set helpers to make it easy to use Shelf on App Engine.
Example code for this package does not follow Dart conventions. The package is structured so it can be run directly using gcloud.
Using pub build
The easiest way to run the sample is to run pub build
before you execute
gcloud preview app run app.yaml
. If you change the content of the web
Directory, you will have to rerun pub build
.
Using pub serve
If you'd like to use pub serve
during development, follow the instructions
here. Note: you will still need to run pub build
before you deploy.