| OLD | NEW |
| (Empty) |
| 1 Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 for details. All rights reserved. Use of this source code is governed by a | |
| 3 BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 A sample news reader application. | |
| 6 | |
| 7 Building and running: | |
| 8 | |
| 9 1. ensure the dartc compiler is built: | |
| 10 $ cd dart/ | |
| 11 $ ./tools/build.py --arch=ia32 | |
| 12 | |
| 13 2. run the update.py script: | |
| 14 $ cd client/samples/swarm/ | |
| 15 $ python update.py | |
| 16 | |
| 17 3. To run on App Engine, install the App Engine SDK for your platform, then | |
| 18 $ easy_install --upgrade google-api-python-client per http://code.google.com/p
/google-api-python-client/wiki/Installation | |
| 19 $ cd client/samples/swarm/appengine | |
| 20 $ enable-app-engine-project . per http://code.google.com/p/google-api-python-c
lient/wiki/GoogleAppEngine | |
| 21 Start the App Engine dev server and browse to /swarm-js.html | |
| 22 | |
| 23 4. To run without App Engine (demo only, no feeds), open the generated file in a
browser: | |
| 24 $ google-chrome ../../outcode/swarm-js.html | |
| OLD | NEW |