Skip to content

Commit

Permalink
chore(demo): move all demos into a single folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Mar 6, 2014
1 parent d7e77de commit 8d694e5
Show file tree
Hide file tree
Showing 28 changed files with 163 additions and 502 deletions.
20 changes: 11 additions & 9 deletions demo/todo/README.md → demo/README.md
Expand Up @@ -9,13 +9,14 @@ Getting up and running

To run this demo, first clone the entire Angular.dart repository.

Then, run ``pub serve`` in this directory:
Then, run `pub serve` in this directory:

```
$ cd demo/todo; pub serve
$ cd demo
$ pub serve
```

Finally, open http://localhost:8080/index.html.
Finally, open `http://localhost:8080/index.html.`

The server is optional
----------------------
Expand All @@ -25,18 +26,19 @@ not need to run it. It is here to demonstrate the HTTP record /
playback feature, snapshotting and dart2js.

```
$ cd demo/todo; node webserver.js
$ cd demo/todo
$ node webserver.js
Web server is listening on port 3000
```

To use dart2js, open http://localhost:3000/index.html in a non-Dartium web
To use dart2js, open http://localhost:3000/todo.html in a non-Dartium web
browser.

To use snapshotting, open http://localhost:3000/snapshot/index.html, which
To use snapshotting, open http://localhost:3000/snapshot/todo.html, which
will serve a zip file with all the files used in the application.

To use HTTP record / playback, first open http://localhost:3000/index.html?record.
Then, without restarting the server, open http://localhost:3000/index.html?playback.
To use HTTP record / playback, first open http://localhost:3000/todo.html?record.
Then, without restarting the server, open http://localhost:3000/todo.html?playback.

For more awesomeness, use HTTP playback together with snapshotting to isolate your
Dart application from the server. http://localhost:3000/snapshot/index.html?playback
Dart application from the server. http://localhost:3000/snapshot/todo.html?playback
77 changes: 0 additions & 77 deletions demo/animate_demo/pubspec.lock

This file was deleted.

7 changes: 0 additions & 7 deletions demo/animate_demo/pubspec.yaml

This file was deleted.

77 changes: 0 additions & 77 deletions demo/bouncing_balls/pubspec.lock

This file was deleted.

77 changes: 0 additions & 77 deletions demo/helloworld/pubspec.lock

This file was deleted.

7 changes: 0 additions & 7 deletions demo/helloworld/pubspec.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions demo/bouncing_balls/pubspec.yaml → demo/pubspec.yaml
@@ -1,7 +1,7 @@
name: angular_dart_demo
name: angular_dart_demos
version: 0.0.1
dependencies:
angular:
path: ../..
path: ../
browser: any
unittest: any
11 changes: 0 additions & 11 deletions demo/todo/package.json

This file was deleted.

77 changes: 0 additions & 77 deletions demo/todo/pubspec.lock

This file was deleted.

0 comments on commit 8d694e5

Please sign in to comment.