OLD | NEW |
1 WebTry | 1 WebTry |
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 Running Locally | 8 Running Locally |
9 =============== | 9 =============== |
10 | 10 |
11 $ GYP_GENERATORS=ninja ./gyp_skia gyp/webtry.gyp gyp/most.gyp -Dskia_gpu=0 | 11 $ GYP_GENERATORS=ninja ./gyp_skia gyp/webtry.gyp gyp/most.gyp -Dskia_gpu=0 |
12 $ ninja -C out/Debug webtry | 12 $ ninja -C out/Debug webtry |
13 $ cd experimental/webtry | 13 $ cd experimental/webtry |
| 14 $ go get -d |
14 $ go build webtry.go | 15 $ go build webtry.go |
15 $ ./webtry | 16 $ ./webtry |
16 | 17 |
17 Then visit http://localhost:8000 in your browser. | 18 Then visit http://localhost:8000 in your browser. |
18 | 19 |
19 Only tested under linux, doubtful it will work on other platforms. | 20 Only tested under linux, doubtful it will work on other platforms. |
20 | 21 |
21 Full Server Setup | 22 Full Server Setup |
22 ================= | 23 ================= |
23 | 24 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 86 |
86 sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry | 87 sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry |
87 | 88 |
88 | 89 |
89 Third Party Code | 90 Third Party Code |
90 ---------------- | 91 ---------------- |
91 | 92 |
92 * res/js/polyfill.js - Various JS polyfill libraries. To rebuild or update | 93 * res/js/polyfill.js - Various JS polyfill libraries. To rebuild or update |
93 see polyfill/README.md. | 94 see polyfill/README.md. |
94 | 95 |
OLD | NEW |