{"id":15611629,"url":"https://github.com/primozgodec/redis-cache-extraction","last_synced_at":"2025-03-29T15:11:16.501Z","repository":{"id":80114471,"uuid":"121503771","full_name":"PrimozGodec/redis-cache-extraction","owner":"PrimozGodec","description":"This repo contains script `makecache.py` that generate predefined cache for Orange-imageanalytics embedders. ","archived":false,"fork":false,"pushed_at":"2018-02-15T15:40:53.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T15:48:45.665Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrimozGodec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-14T11:35:06.000Z","updated_at":"2018-02-14T11:38:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"56f7f696-069f-4aef-a5ce-2a60e6513eee","html_url":"https://github.com/PrimozGodec/redis-cache-extraction","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"0e93c55537646a629f4caf2bf36cfb381e7cc85f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimozGodec%2Fredis-cache-extraction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimozGodec%2Fredis-cache-extraction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimozGodec%2Fredis-cache-extraction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimozGodec%2Fredis-cache-extraction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrimozGodec","download_url":"https://codeload.github.com/PrimozGodec/redis-cache-extraction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200318,"owners_count":20739566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T06:06:03.654Z","updated_at":"2025-03-29T15:11:16.468Z","avatar_url":"https://github.com/PrimozGodec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redis-cache-extraction\nThis repo contains script `makecache.py` that generate predefined cache for\nOrange-imageanalytics embedders.\n\nHow to build a predefined cache?\n\n1. Place the images to get cached into images directory\n\n2. Run embedders to fill the cache\n\n       ORANGE_EMBEDDING_API_URL=\u003cdev url\u003e python run_embedders.py\n\n3. Retrieve redis database dump:\n\n       ssh \u003cdev server\u003e\n       POD=$(kubectl get pod | grep redis-redis | awk '{print $1;}')\n       kubectl cp default/$POD:/bitnami/redis/data/dump.rdb dump.rdb\n\n4. Move dump.rdb to `tmp` directory in this project\n\n5. Run script to generate redis cache\n\n       python makecache.py\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimozgodec%2Fredis-cache-extraction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimozgodec%2Fredis-cache-extraction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimozgodec%2Fredis-cache-extraction/lists"}