From 96545265e866636d32cb35a7b2aae8f3b9fac067 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sun, 2 Apr 2017 17:05:24 -0400 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 647b654..a4f7a07 100644 --- a/README.md +++ b/README.md @@ -51,10 +51,10 @@ With features like the following, Angel is the all-in-one framework you should c More examples and complete projects can be found in the [angel-example](https://github.com/angel-example) organization. The following is an [explosive application](https://github.com/angel-example/explode) complete with a REST API and -WebSocket support. It interacts with a MongoDB database, and reads configuration automatically from a `config/.yaml` file. +WebSocket support. It interacts with a MongoDB database, and reads configuration automatically from a `config/.yaml` file. Templates are rendered with Mustache. ```dart -import 'dart:async;' +import 'dart:async'; import 'package:angel_common/angel_common.dart'; import 'package:angel_websocket/server.dart'; import 'package:mongo_dart/mongo_dart.dart'; @@ -68,6 +68,7 @@ main() async { Future createServer() async { // Configuration await app.configure(loadConfigurationFile()); + await app.configure(mustache()); Db db = new Db(); await db.open(app.mongodb_url); app.container.singleton(db); // Add to DI