[whatwg/dom] Set up the architecture for commit/branch snapshots (#350)

@annevk I think the rest of the steps are up to you. You need to:

- Ensure the DEPLOY_USER username is correct in deploy.sh. If you'd rather keep the actual username secret we can talk about how to encrypt that.
- Generate a SSH key on the dom.spec.whatwg.org server
- Encrypt it, and check the resulting file into this branch as `deploy_key.enc`. [These instructions](https://gist.github.com/domenic/ec8b0fc8ab45f39403dd#get-encrypted-credentials), minus the part about "add that deploy key to your repository", should do the trick.
- Enable Travis for whatwg/dom when everything is ready. We can do this together to make sure things are working.

It'd be a good idea to backup the current server copy of DOM so we can easily swap it back if something goes wrong while we're trying to land this. (That is, it'd be sad if DOM was down for even 10 minutes tomorrow morning.)

This setup assumes that there is a folder dom.spec.whatwg.org inside your home directory on the server, which is served to the web. If not we can tweak the script a bit.

We can also do somewhat of a dry-run by changing some variables, e.g. if you change WEB_ROOT to "dom.spec.whatwg.org/test/" then in theory it should spit out index.html and friends inside the /test subdirectory.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/350

-- Commit Summary --

  * Set up the architecture for commit/branch snapshots

-- File Changes --

    A .gitignore (1)
    A .travis.yml (7)
    M README.md (17)
    A deploy.sh (94)
    M dom.bs (1)

-- Patch Links --

https://github.com/whatwg/dom/pull/350.patch
https://github.com/whatwg/dom/pull/350.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/350

Received on Monday, 24 October 2016 22:25:01 UTC