Skip to content

staticfloat/cache.julialang.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b555149 · Sep 8, 2022
Apr 20, 2017
Aug 10, 2016
Sep 8, 2022
Aug 19, 2017
Sep 13, 2018
Aug 21, 2017
Aug 19, 2017
Apr 24, 2017
Jan 8, 2015
Apr 24, 2019
Aug 14, 2017
Sep 13, 2018
Jan 12, 2022

Repository files navigation

cache.julialang.org

Python flask-based redirector that automagically caches files on S3 so that we don't have to deal with sourceforge (and others) downtime.

Deployment

Deploying/rebuilding the caching server is as easy as running make within a checked-out copy of the code. As an example, when code changes are committed, and a deployed version of this code (Such as that which lives at cache.julialang.org) must be updated, doing so is as simple as SSH'ing into the server, navigating to the directory holding the code, and running make. To stop the server from running, use make down. Note that the docker-compose.yml file used by this make process is dependent on the hostname of the computer it is running on, so as to provide easy dev/prod separation.

Viewing logs

To easily see logs coming from a running cache instance, simply run make logs.