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

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

Issue 631693003: add environment variable to 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 Set your SKIA_ROOT environment variable to point at your skia tree, then: 12 One time setup:
13
14 $ export SKIA_ROOT=path_to_your_skia_source
15 $ export WEBTRY_INOUT=path_to_a_writeable_directory
16 $ mkdir -p $WEBTRY_INOUT
17
18 Then, to run:
13 19
14 $ cd experimental/webtry 20 $ cd experimental/webtry
15 $ go get -d 21 $ go get -d
16 $ ./build 22 $ ./build
17 $ ./webtry 23 $ ./webtry
18 24
19 Then visit http://localhost:8000 in your browser. 25 Then visit http://localhost:8000 in your browser.
20 26
21 Only tested under linux and MacOS, doubtful it will work on other platforms. 27 Only tested under linux and MacOS, doubtful it will work on other platforms.
22 28
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 1. SSH into the server as default. 89 1. SSH into the server as default.
84 2. cd ~/skia/experimental/webtry/setup 90 2. cd ~/skia/experimental/webtry/setup
85 3. git pull 91 3. git pull
86 4. ./webtry_setup.sh 92 4. ./webtry_setup.sh
87 93
88 Third Party Code 94 Third Party Code
89 ================ 95 ================
90 96
91 * res/js/polyfill.js - Various JS polyfill libraries. To rebuild or update 97 * res/js/polyfill.js - Various JS polyfill libraries. To rebuild or update
92 see poly/README.md. 98 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