| 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 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 Create a GCE instance: | 24 Create a GCE instance: |
| 25 | 25 |
| 26 gcutil --project=google.com:skia-buildbots addinstance skia-webtry-b \ | 26 gcutil --project=google.com:skia-buildbots addinstance skia-webtry-b \ |
| 27 --zone=us-central2-b --external_ip_address=108.170.220.126 \ | 27 --zone=us-central2-b --external_ip_address=108.170.220.126 \ |
| 28 --service_account=default \ | 28 --service_account=default \ |
| 29 --service_account_scopes="https://www.googleapis.com/auth/devstorage.full_
control" \ | 29 --service_account_scopes="https://www.googleapis.com/auth/devstorage.full_
control" \ |
| 30 --network=default --machine_type=n1-standard-1 --image=backports-debian-7-
wheezy-v20140331 \ | 30 --network=default --machine_type=n1-standard-1 --image=backports-debian-7-
wheezy-v20140331 \ |
| 31 --persistent_boot_disk | 31 --persistent_boot_disk |
| 32 | 32 |
| 33 Make sure port 80 is accessible externally for the above instance. |
| 34 |
| 33 SSH into the instance: | 35 SSH into the instance: |
| 34 | 36 |
| 35 gcutil --project=google.com:skia-buildbots ssh --ssh_user=default skia-webtr
y-b | 37 gcutil --project=google.com:skia-buildbots ssh --ssh_user=default skia-webtr
y-b |
| 36 | 38 |
| 37 | 39 |
| 38 Do once | 40 Do once |
| 39 ------- | 41 ------- |
| 40 | 42 |
| 41 The following things only need to be done once | 43 The following things only need to be done once |
| 42 | 44 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 ./webtry_setup.sh | 78 ./webtry_setup.sh |
| 77 | 79 |
| 78 | 80 |
| 79 Once, after setup | 81 Once, after setup |
| 80 ----------------- | 82 ----------------- |
| 81 | 83 |
| 82 Do this step only once, but only after running webtry_setup.sh the first time | 84 Do this step only once, but only after running webtry_setup.sh the first time |
| 83 | 85 |
| 84 sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry | 86 sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry |
| 85 | 87 |
| OLD | NEW |