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

Side by Side Diff: experimental/webtry/README.md

Issue 630093002: fix webtry local run documentation (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 WebTry Server 1 WebTry Server
2 ============= 2 =============
3 3
4 Allows trying out Skia code in the browser. Run a local webserver 4 Allows trying out Skia code in the browser. Run a local webserver
5 and from the pages it serves try out Skia code and see the results 5 and from the pages it serves try out Skia code and see the results
6 immediately. To make sandboxing easier this must be built w/GPU off. 6 immediately. To make sandboxing easier this must be built w/GPU off.
7 7
8 8
9 Running Locally 9 Running Locally
10 =============== 10 ===============
11 11
12 $ GYP_GENERATORS=ninja ./gyp_skia gyp/webtry.gyp gyp/most.gyp -Dskia_gpu=0 12 Set your SKIA_ROOT environment variable to point at your skia tree, then:
tfarina 2014/10/06 16:12:56 How are the user going to build the C++ part? "bui
13 $ ninja -C out/Debug webtry 13
14 $ cd experimental/webtry 14 $ cd experimental/webtry
15 $ go get -d 15 $ go get -d
16 $ go build webtry.go 16 $ ./build
17 $ ./webtry 17 $ ./webtry
18 18
19 Then visit http://localhost:8000 in your browser. 19 Then visit http://localhost:8000 in your browser.
20 20
21 Only tested under linux, doubtful it will work on other platforms. 21 Only tested under linux and MacOS, doubtful it will work on other platforms.
22 22
23 23
24 Server Setup 24 Server Setup
25 ============ 25 ============
26 26
27 Create a GCE instance: 27 Create a GCE instance:
28 28
29 gcutil --project=google.com:skia-buildbots addinstance skia-webtry-b \ 29 gcutil --project=google.com:skia-buildbots addinstance skia-webtry-b \
30 --zone=us-central2-b --external_ip_address=108.170.220.126 \ 30 --zone=us-central2-b --external_ip_address=108.170.220.126 \
31 --service_account=default \ 31 --service_account=default \
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 1. SSH into the server as default. 83 1. SSH into the server as default.
84 2. cd ~/skia/experimental/webtry/setup 84 2. cd ~/skia/experimental/webtry/setup
85 3. git pull 85 3. git pull
86 4. ./webtry_setup.sh 86 4. ./webtry_setup.sh
87 87
88 Third Party Code 88 Third Party Code
89 ================ 89 ================
90 90
91 * res/js/polyfill.js - Various JS polyfill libraries. To rebuild or update 91 * res/js/polyfill.js - Various JS polyfill libraries. To rebuild or update
92 see poly/README.md. 92 see poly/README.md.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698