Skip to content

cBioPortal/cache_warmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create the following config.js file and set the loginUrl:

global.config = {
    loginUrl : "xxxxxxx",
    urls : [
        {
            "url": "https://cbioportal.mskcc.org/study/summary?id=mskimpact"
        }
    ]
}

Run the following command:

docker run -i --init --cap-add=SYS_ADMIN --rm ghcr.io/puppeteer/puppeteer:latest node -e "$(cat ./config.js); $(cat ./main.js)"

Running in Kubernetes cluster

kubectl delete po cache-warmer; kubectl run cache-warmer --env="LOGIN_URLxxx" --image cbioportal/cache_warmer:docker-run-edits5 --attach --leave-stdin-open --rm -it -- node main.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published