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

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

Issue 648563003: Fix webtry setup once instructions in README doc. (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 ===============
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ================= 50 =================
51 51
52 The following things only need to be done once. 52 The following things only need to be done once.
53 53
54 1. SSH into the server as default. 54 1. SSH into the server as default.
55 2. sudo apt-get install git 55 2. sudo apt-get install git
56 3. git clone https://skia.googlesource.com/skia 56 3. git clone https://skia.googlesource.com/skia
57 4. cd ~/skia/experimental/webtry/setup 57 4. cd ~/skia/experimental/webtry/setup
58 5. ./webtry_setup.sh 58 5. ./webtry_setup.sh
59 59
60 3. Add the following to the /etc/schroot/minimal/fstab: 60 6. Add the following to the /etc/schroot/minimal/fstab:
61 61
62 none /run/shm tmpfs rw,nosuid,nodev,noexec 0 0 62 none /run/shm tmpfs rw,nosuid,nodev,noexec 0 0
63 /home/webtry/inout /skia_build/inout none rw,bind 0 0 63 /home/webtry/inout /skia_build/inout none rw,bind 0 0
64 /home/webtry/cache /skia_build/cache none rw,bind 0 0 64 /home/webtry/cache /skia_build/cache none rw,bind 0 0
65 65
66
67 4. git clone https://skia.googlesource.com/skia
tfarina 2014/10/10 02:35:29 this is repeating lines 56-58.
68
69 5. cd ~/skia/experimental/webtry/setup
70
71 6. ./webtry_setup.sh
72
73 7. Change /etc/monit/monitrc to: 66 7. Change /etc/monit/monitrc to:
74 67
75 set daemon 2 68 set daemon 2
76 69
77 then run the following so it applies: 70 then run the following so it applies:
78 71
79 sudo /etc/init.d/monit restart 72 sudo /etc/init.d/monit restart
80 73
81 This means that monit will poll every two seconds that our application is up and running. 74 This means that monit will poll every two seconds that our application is up and running.
82 75
83 8. Set the TCP keepalive. For more info see: 76 8. Set the TCP keepalive. For more info see:
84 https://developers.google.com/cloud-sql/docs/gce-access 77 https://developers.google.com/cloud-sql/docs/gce-access
85 78
86 sudo sh -c 'echo 60 > /proc/sys/net/ipv4/tcp_keepalive_time' 79 sudo sh -c 'echo 60 > /proc/sys/net/ipv4/tcp_keepalive_time'
87 80
81
88 To update the code 82 To update the code
89 ================== 83 ==================
90 84
91 1. SSH into the server as default. 85 1. SSH into the server as default.
92 2. cd ~/skia/experimental/webtry/setup 86 2. cd ~/skia/experimental/webtry/setup
93 3. git pull 87 3. git pull
94 4. ./webtry_setup.sh 88 4. ./webtry_setup.sh
95 89
90
96 Third Party Code 91 Third Party Code
97 ================ 92 ================
98 93
99 * res/js/polyfill.js - Various JS polyfill libraries. To rebuild or update 94 * res/js/polyfill.js - Various JS polyfill libraries. To rebuild or update
100 see poly/README.md. 95 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