| Index: samples/swarm/README
|
| diff --git a/samples/swarm/README b/samples/swarm/README
|
| index 80ca6c4289f160f7a53f0f4c8d2cedc64a83951f..7403a92d408cf9cd49348df3ada586c3085e2729 100644
|
| --- a/samples/swarm/README
|
| +++ b/samples/swarm/README
|
| @@ -4,21 +4,28 @@ BSD-style license that can be found in the LICENSE file.
|
|
|
| A sample news reader application.
|
|
|
| -Building and running:
|
| +Running in the Editor with demo data (demo only, no feeds):
|
|
|
| -1. ensure the dartc compiler is built:
|
| - $ cd dart/
|
| - $ ./tools/build.py --arch=ia32
|
| +1. open the Dart Editor
|
|
|
| -2. run the update.py script:
|
| - $ cd samples/swarm/
|
| - $ python update.py
|
| +2. from the menu, click File / Open Folder and load this directory
|
|
|
| -3. To run on App Engine, install the App Engine SDK for your platform, then
|
| +3. click the green run button
|
| +
|
| +4. alternatively, to run as javascript:
|
| + - compile (under the Tools / Generate JavaScript menu option)
|
| + - load the same url shown in Dartium in step 3 in any other browser
|
| +
|
| +Running in Dartium from the file system (demo only, no feeds):
|
| +
|
| +1. run the Dartium Chrome binary from the command line with the following flag: --allow-file-access-from-files
|
| +
|
| +2. navigate to the swarm.html file in this directory
|
| +
|
| +Running from App Engine (TODO: these are stale instructions):
|
| +
|
| +1. To run on App Engine, install the App Engine SDK for your platform, then
|
| $ easy_install --upgrade google-api-python-client per http://code.google.com/p/google-api-python-client/wiki/Installation
|
| $ cd samples/swarm/appengine
|
| $ enable-app-engine-project . per http://code.google.com/p/google-api-python-client/wiki/GoogleAppEngine
|
| Start the App Engine dev server and browse to /swarm-js.html
|
| -
|
| -4. To run without App Engine (demo only, no feeds), open the generated file in a browser:
|
| - $ google-chrome ../../outcode/swarm-js.html
|
|
|