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

Side by Side Diff: runtime/bin/vmservice/client/HACKING.txt

Issue 299823004: Upgrade Observatory to Polymer 0.10.x (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/resources_sources.gypi ('k') | runtime/bin/vmservice/client/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Dart Observatory Developer Guide 1 Dart Observatory Developer Guide
2 --- 2 ---
3 3
4 Assumptions: 4 Assumptions:
5 You are running pub from the latest dev channel release of Dart Editor. 5 You are running pub from the latest dev channel release of Dart Editor.
6 6
7 During development you do not need to run dart2js or rebuild the VM (unless 7 During development you do not need to run dart2js or rebuild the VM (unless
8 you are also making changes to the backend). While you're working on your 8 you are also making changes to the backend). While you're working on your
9 feature follow the steps: 9 feature follow the steps:
10 10
11 1. Open runtime/bin/vmservice/client in the Dart Editor 11 1. Open runtime/bin/vmservice/client in the Dart Editor
12 2. Run pub upgrade 12 2. Run pub upgrade
13 3. Launch dart --enable-vm-service --pause-isolates-on-exit script.dart 13 3. Run pub serve in runtime/bin/vmservice/client
14 4. Launch web/index.html in Dartium 14 4. Launch dart --enable-vm-service --pause-isolates-on-exit script.dart
15 5. Connect to http://localhost:8080 in Dartium.
15 16
16 At this point you should see the initial Observatory UI and that 17 At this point you should see the initial Observatory UI and that
17 it is communicating with the VM you launched in step 2. 18 it is communicating with the VM you launched in step 4.
18 19
19 Continue to develop and iterate until you're ready to upload your change 20 Continue to develop and iterate until you're ready to upload your change
20 for review. Upload your change and get an LGTM. 21 for review. Upload your change and get an LGTM.
21 22
22 5. Run pub build 23 6. Run pub build
23 6. Run ./deploy.sh 24 7. Run ./deploy.sh
24 7. If you have added new resource files (images, html files) you must run
25 resources.sh and use its output to update resources_sources.gypi (Standalone)
26 and devtools.gypi (Dartium).
27 25
28 At this point you should rebuild your VM and using the build: 26 At this point you should rebuild your VM and:
29 27
30 8. Launch dart --enable-vm-service --pause-isolates-on-exit script.dart 28 8. Launch dart --enable-vm-service --pause-isolates-on-exit script.dart
31 29
32 In a non-Dart enabled browser navigate to localhost:8181 and ensure 30 In a non-Dart enabled browser navigate to localhost:8181 and ensure
33 that your feature works after being compiled to JavaScript. 31 that your feature works after being compiled to JavaScript.
34 32
35 9. Commit your change 33 9. Commit your change
36 34
OLDNEW
« no previous file with comments | « runtime/bin/resources_sources.gypi ('k') | runtime/bin/vmservice/client/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698