Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 18, 2013
  1. Yaniv Aknin

    devops: add some deployment/provisioning fixes

    yaniv-aknin authored
     - fix project root detection from runcommands.sh
     - add the sandalstrap project bootstrapper as sandalstrap.sh
     - explicitly check for CoffeeScript and JRE
     - remove readline from requirements
        Shouldn't be there in the first place, it's just a sad artifact of
        development on OSX.
  2. Yaniv Aknin
  3. Yaniv Aknin
Commits on Feb 15, 2013
  1. Yaniv Aknin
  2. Yaniv Aknin

    devops: add CDN support

    yaniv-aknin authored
    This commit adds a function called config.cdn.proxied(). You can pass
    any URL (absolute or relative) to proxied(), and it will look up an
    internal table of reverse-proxies (typically CDN endpoints) and see if
    this URL is covered by one.
    
    If the URL has a CDN endpoint, proxied() returns the CDN URL. If it
    doesn't, it just returns the same string as before.
    
    Relative URLs with no netloc are considered to be relative to SERVER_URL
    as set in the configuration.
    
    The table of CDN endpoints can be generated and cached by running
    config.cdn.get_cache(). At the time of this writing, get_cache() will
    return an empty if AWS credentials aren't found in the configuration,
    and a set of CloudFront distributions endpoints visible by these AWS
    credentials otherwise. Having two distributions with the same origin URL
    leads to undefined results.
  3. Yaniv Aknin
  4. Yaniv Aknin
  5. Yaniv Aknin

    initial commit

    yaniv-aknin authored
Something went wrong with that request. Please try again.