shelf_appengine 0.2.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • --

A set helpers to make it easy to use Shelf on App Engine.

Running the Example

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.

0.2.3

  • Added port argument to serve function. Requires appengine >= 0.3.1.

0.2.2+1

  • Better handling of default document serving.

0.2.2

  • Support latest release of appengine package.

0.2.1

  • Made DirectoryIndexServeMode an enum.

  • Support the latest version of shelf package.

  • Require Dart 1.9 or greater.

0.2.0+1

  • Fixing an issue causing the DirectoryIndexServeMode.SERVE mode to have no effect.

0.2.0

  • Made assetHandler a function.

  • Added the directoryIndexServeMode named parameter to the assetHandler method to enable auto-serving or redirecting to index.html files. Allow changing the default index files name to serve with indexFileName.

0.1.1+2

  • Formatted the code.

  • Updated example code to run on the latest configuration.

0.1.1+1

  • Added logging for asset errors.

0.1.1

  • First public release.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  shelf_appengine: ^0.2.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:shelf_appengine/shelf_appengine.dart';
  
Version Uploaded Documentation Archive
0.2.3 Aug 7, 2015 Go to the documentation of shelf_appengine 0.2.3 Download shelf_appengine 0.2.3 archive
0.2.2+1 Jun 18, 2015 Go to the documentation of shelf_appengine 0.2.2+1 Download shelf_appengine 0.2.2+1 archive
0.2.2 Jun 1, 2015 Go to the documentation of shelf_appengine 0.2.2 Download shelf_appengine 0.2.2 archive
0.2.1 Jun 1, 2015 Go to the documentation of shelf_appengine 0.2.1 Download shelf_appengine 0.2.1 archive
0.2.0+1 Feb 26, 2015 Go to the documentation of shelf_appengine 0.2.0+1 Download shelf_appengine 0.2.0+1 archive
0.2.0 Feb 25, 2015 Go to the documentation of shelf_appengine 0.2.0 Download shelf_appengine 0.2.0 archive
0.1.1+2 Nov 10, 2014 Go to the documentation of shelf_appengine 0.1.1+2 Download shelf_appengine 0.1.1+2 archive
0.1.1+1 Nov 6, 2014 Go to the documentation of shelf_appengine 0.1.1+1 Download shelf_appengine 0.1.1+1 archive
0.1.1 Nov 6, 2014 Go to the documentation of shelf_appengine 0.1.1 Download shelf_appengine 0.1.1 archive
0.3.0-alpha Mar 19, 2017 Go to the documentation of shelf_appengine 0.3.0-alpha Download shelf_appengine 0.3.0-alpha archive
Popularity:
Describes how popular the package is relative to other packages. [more]
--
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
--
Learn more about scoring.

This package is not analyzed, because it is discontinued.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.9.0 <2.0.0