17972ddce5
be a customer facing app sample. Bug: None Change-Id: I94944d4d5677b08eaf6c27ecf26e8503d8eae38f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/255255 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Jonas Termansen <sortie@google.com> Commit-Queue: Michael Thomsen <mit@google.com>
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
for details. All rights reserved. Use of this source code is governed by a
|
|
BSD-style license that can be found in the LICENSE file.
|
|
|
|
A sample news reader application.
|
|
|
|
**NOTE**: This is not a customer facing sample app, and is only being retained
|
|
to continue testing JS code size.
|
|
|
|
Running in the Editor with demo data (demo only, no feeds):
|
|
|
|
1. open the Dart Editor
|
|
|
|
2. from the menu, click File / Open Folder and load this directory
|
|
|
|
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
|