dart-sdk/samples-dev/swarm
2017-06-24 13:41:39 +02:00
..
appengine Stoppp using trippple consonants 2017-04-21 17:50:13 +02:00
data Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
swarm_ui_lib Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
test Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
App.dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
back-21.png Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
BiIterator.dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
buildapp.py Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
cacheimages.py Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
CannedData.dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
ConfigHintDialog.dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
CSS.dart Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
Dart_Logo_21.png Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
DataSource.dart Stoppp using trippple consonants 2017-04-21 17:50:13 +02:00
Decoder.dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
externallink.svg Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
favicon.png Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
favicon128.png Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
gen_manifest.py Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
HelpDialog.dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
info.svg Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
lefttriangle.svg Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
manifest.json Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
pigeons-jumpinjimmyjava-white90pct-q70.jpg Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
README Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
refresh-21.png Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
righttriangle.svg Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
settings-21.png Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
sliderarrow.svg Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
swarm-dev.pem Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
swarm.css Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
swarm.dart Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
swarm.html Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
swarm.scss Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
SwarmApp.dart Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
swarmlib.dart Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
SwarmState.dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
SwarmViews.dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
UIState.dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
update.py Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
Views.dart Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00

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.

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