Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: samples/swarm/README

Issue 10735076: Update swarm to run from the Dart Editor with demo data (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed some typos Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/swarm/DataSource.dart ('k') | samples/swarm/data/Test0_0_0.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « samples/swarm/DataSource.dart ('k') | samples/swarm/data/Test0_0_0.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698