diff options
author | humper <humper@google.com> | 2014-10-02 10:37:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-02 10:37:14 -0700 |
commit | f0e2154b45ab2bb0d7fa5a9d38955260ce42831c (patch) | |
tree | 29fbdd54ffee0a91cf95c0c5aec5a6845788c747 | |
parent | 149366e884747769b4b2cb810e5d8f328164cf23 (diff) |
Update webtry setup docs to reflect new installation procedure
BUG=skia:
Review URL: https://codereview.chromium.org/626443004
-rw-r--r-- | experimental/webtry/README.md | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/experimental/webtry/README.md b/experimental/webtry/README.md index 609a84b1be..059b66e45e 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 -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: + + none /run/shm tmpfs rw,nosuid,nodev,noexec 0 0 + /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' -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 - - To update the code ================== @@ -92,7 +85,6 @@ To update the code 3. git pull 4. ./webtry_setup.sh - Third Party Code ================ |