Index: experimental/webtry/README.md |
diff --git a/experimental/webtry/README.md b/experimental/webtry/README.md |
index 609a84b1beab7a9478de54da79a65c5fbd4691aa..059b66e45eb8f4666f30fbb6bf7d710ce8d7bb25 100644 |
--- a/experimental/webtry/README.md |
+++ b/experimental/webtry/README.md |
@@ -46,22 +46,23 @@ Do the first time |
The following things only need to be done once. |
1. SSH into the server as default. |
+ |
2. sudo apt-get install git schroot debootstrap |
tfarina
2014/10/02 17:56:27
As you noted, schroot and debootstrap are also ins
humper
2014/10/02 20:43:15
Done.
|
-3. git clone https://skia.googlesource.com/skia |
-4. cd ~/skia/experimental/webtry/setup |
-5. ./webtry_setup.sh |
-6. Add the following to /etc/fstab and reboot: |
+3. Add the following to the /etc/schroot/minimal/fstab: |
tfarina
2014/10/02 17:56:27
Does this needs to happen before we call webtry_se
humper
2014/10/02 20:43:15
Not really -- the setup scripts just use regular c
|
+ |
+ none /run/shm tmpfs rw,nosuid,nodev,noexec 0 0 |
tfarina
2014/10/02 18:55:27
Should we do this in the script as well rather tha
humper
2014/10/02 20:43:15
Well, line 32 only runs once, when the chroot is v
|
+ /home/webtry/inout /skia_build/inout none rw,bind 0 0 |
+ /home/webtry/cache /skia_build/cache none rw,bind 0 0 |
- none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 |
-The above will allow ninja to run. See http://stackoverflow.com/questions/2009278/python-multiprocessing-permission-denied |
+4. git clone https://skia.googlesource.com/skia |
-7. Add the following to the /etc/schroot/minimal/fstab: |
+5. cd ~/skia/experimental/webtry/setup |
- /home/webtry/inout /inout none rw,bind 0 0 |
+6. ./webtry_setup.sh |
-8. Change /etc/monit/monitrc to: |
+7. Change /etc/monit/monitrc to: |
set daemon 2 |
@@ -71,19 +72,11 @@ then run the following so it applies: |
This means that monit will poll every two seconds that our application is up and running. |
-9. Set the TCP keepalive. For more info see: |
+8. Set the TCP keepalive. For more info see: |
https://developers.google.com/cloud-sql/docs/gce-access |
sudo bash -c 'echo 60 > /proc/sys/net/ipv4/tcp_keepalive_time' |
tfarina
2014/10/02 17:56:27
s/bash/sh?
humper
2014/10/02 20:43:15
Done.
|
-Once, after setup |
-================= |
- |
-Do this step only once, but only after running webtry_setup.sh the first time. |
- |
- sudo debootstrap --variant=minbase wheezy /srv/chroot/webtry |
tfarina
2014/10/02 17:56:27
OK. This is done by webtry_setup.sh with:
sudo de
humper
2014/10/02 20:43:15
Acknowledged.
|
- |
- |
To update the code |
================== |
@@ -92,7 +85,6 @@ To update the code |
3. git pull |
4. ./webtry_setup.sh |
- |
Third Party Code |
================ |