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

Unified Diff: sky/SDK.md

Issue 990493002: Make package: work like Dart expects in preparation for a Sky SDK (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Made deploy_sdk 100x faster in the --dev-environment case Created 5 years, 9 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
Index: sky/SDK.md
diff --git a/sky/SDK.md b/sky/SDK.md
index f70a03cd789091a6d2b7fe1336f84e7a15f89f39..76e8cd9856a30e789e45aa964d71732dfa977955 100644
--- a/sky/SDK.md
+++ b/sky/SDK.md
@@ -6,34 +6,41 @@ iterating on Sky heavily, which means the framework and underlying engine are
both likely to change in incompatible ways several times, but if you're
interested in trying out the system, this document can help you get started.
+Set up your computer
+--------------------
+
+1. Install the Dart SDK:
+ - https://www.dartlang.org/tools/download.html
+
+2. Install the ``adb`` tool from the Android SDK:
+ - https://developer.android.com/sdk/installing/index.html
+
+3. Install the Sky SDK:
+ - ``git clone https://github.com/domokit/sky_sdk.git``
+
+4. Ensure sure $DART_SDK is set to the path of your Dart SDK and 'adb'
+ (inside 'platform-tools' in the android sdk) is in your $PATH.
+
+
Set up your device
------------------
Currently Sky requires an Android device running the Lollipop (or newer) version
of the Android operating system.
-1. Install ``Sky`` on your device by via the Play Store. The Sky app on your
- device is capable of displaying applications written using Sky.
-
-2. Enable developer mode on your device by visiting ``Settings > About phone``
+1. Enable developer mode on your device by visiting ``Settings > About phone``
and tapping the ``Build number`` field five times.
-3. Enable ``USB debugging`` in ``Settings > Developer options``.
-
-Set up your computer
---------------------
-
-1. Install the ``adb`` tool from the Android SDK.
- - Mac: ``brew install android-platform-tools``
- - Linux: ``sudo apt-get install android-tools-adb``
-
-2. Download the Sky framework:
- - ``git clone https://github.com/domokit/sky-sdk.git``
+2. Enable ``USB debugging`` in ``Settings > Developer options``.
3. Using a USB cable, plug your phone into your computer. If prompted on your
device, authorize your computer to access your device.
+
Running a Sky application
-------------------------
-1. ``/path/to/sky-sdk/shelldb myapp.sky && adb logcat``
+1. ``sky_sdk/bin/sky --install sky_sdk/examples/index.sky``
+ The --install flag is only necessary the first time to install SkyDemo.apk.
+
+2. Use ``adb logcat`` to view any errors or Dart print() output from the app.

Powered by Google App Engine
This is Rietveld 408576698