{"id":31758305,"url":"https://github.com/iepathos/django-memcached-openshift","last_synced_at":"2025-10-09T20:03:34.948Z","repository":{"id":8028795,"uuid":"9438214","full_name":"iepathos/django-memcached-openshift","owner":"iepathos","description":"An example for setting up Memcached with Django on the Openshift platform.","archived":false,"fork":false,"pushed_at":"2013-04-15T02:26:42.000Z","size":160,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-19T15:22:21.367Z","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/iepathos.png","metadata":{"files":{"readme":"README","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}},"created_at":"2013-04-15T01:05:52.000Z","updated_at":"2024-04-19T15:22:21.368Z","dependencies_parsed_at":"2022-08-27T03:51:58.092Z","dependency_job_id":null,"html_url":"https://github.com/iepathos/django-memcached-openshift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iepathos/django-memcached-openshift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Fdjango-memcached-openshift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Fdjango-memcached-openshift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Fdjango-memcached-openshift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Fdjango-memcached-openshift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iepathos","download_url":"https://codeload.github.com/iepathos/django-memcached-openshift/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iepathos%2Fdjango-memcached-openshift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002012,"owners_count":26083258,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-09T20:02:22.212Z","updated_at":"2025-10-09T20:03:34.943Z","avatar_url":"https://github.com/iepathos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Feel free to change or remove this file, it is informational only.\n\nRepo layout\n===========\nwsgi/ - Externally exposed wsgi code goes\nwsgi/static/ - Public static content gets served here\nlibs/ - Additional libraries\ndata/ - For not-externally exposed wsgi code\nsetup.py - Standard setup.py, specify deps here\n../data - For persistent data (also env var: OPENSHIFT_DATA_DIR)\n.openshift/action_hooks/pre_build - Script that gets run every git push before the build\n.openshift/action_hooks/build - Script that gets run every git push as part of the build process (on the CI system if available)\n.openshift/action_hooks/deploy - Script that gets run every git push after build but before the app is restarted\n.openshift/action_hooks/post_deploy - Script that gets run every git push after the app is restarted\n\n\nEnvironment Variables\n=====================\n\nOpenShift provides several environment variables to reference for ease\nof use.  The following list are some common variables but far from exhaustive:\n\n    os.environ['OPENSHIFT_APP_NAME']  - Application name\n    os.environ['OPENSHIFT_DATA_DIR']  - For persistent storage (between pushes)\n    os.environ['OPENSHIFT_TMP_DIR']   - Temp storage (unmodified files deleted after 10 days)\n\nWhen embedding a database using 'rhc cartridge add', you can reference environment\nvariables for username, host and password:\n\nIf you embed MySQL, then:\n\n    os.environ['OPENSHIFT_MYSQL_DB_HOST']      - DB host\n    os.environ['OPENSHIFT_MYSQL_DB_PORT']      - DB Port\n    os.environ['OPENSHIFT_MYSQL_DB_USERNAME']  - DB Username\n    os.environ['OPENSHIFT_MYSQL_DB_PASSWORD']  - DB Password\n\nTo get a full list of environment variables, simply add a line in your\n.openshift/action_hooks/build script that says \"export\" and push.\n\n\nNotes about layout\n==================\nPlease leave wsgi, libs and data directories but feel free to create additional\ndirectories if needed.\n\nNote: Every time you push, everything in your remote repo dir gets recreated\nplease store long term items (like an sqlite database) in ../data which will\npersist between pushes of your repo.\n\n\nNotes about setup.py\n====================\n\nAdding deps to the install_requires will have the openshift server actually\ninstall those deps at git push time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiepathos%2Fdjango-memcached-openshift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiepathos%2Fdjango-memcached-openshift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiepathos%2Fdjango-memcached-openshift/lists"}