{"id":22370488,"url":"https://github.com/pollosp/sinatra-openshift-basic","last_synced_at":"2025-10-09T22:03:40.582Z","repository":{"id":146700367,"uuid":"85106696","full_name":"pollosp/sinatra-openshift-basic","owner":"pollosp","description":"Basic sinatra example for openshift","archived":false,"fork":false,"pushed_at":"2017-03-16T13:47:30.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T16:49:28.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/pollosp.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":"2017-03-15T18:21:26.000Z","updated_at":"2017-03-15T18:21:47.000Z","dependencies_parsed_at":"2023-05-07T09:47:45.076Z","dependency_job_id":null,"html_url":"https://github.com/pollosp/sinatra-openshift-basic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pollosp/sinatra-openshift-basic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pollosp%2Fsinatra-openshift-basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pollosp%2Fsinatra-openshift-basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pollosp%2Fsinatra-openshift-basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pollosp%2Fsinatra-openshift-basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pollosp","download_url":"https://codeload.github.com/pollosp/sinatra-openshift-basic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pollosp%2Fsinatra-openshift-basic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002034,"owners_count":26083286,"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":"2024-12-04T19:45:46.122Z","updated_at":"2025-10-09T22:03:40.554Z","avatar_url":"https://github.com/pollosp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sinatra openshift v3 basic example\n[![wercker status](https://app.wercker.com/status/78996ad35b2627627b21efcdb2690472/s/master \"wercker status\")](https://app.wercker.com/project/byKey/78996ad35b2627627b21efcdb2690472)\n\nThis example is tested on MacOS Sierra\n## Install minishift\n[Minishift](https://github.com/minishift/minishift)\n\n### Install xhyve\n\n```\n$ brew update\n$ brew install --HEAD xhyve\n```\n\n### Install docker-machine-xhyve\n\n```\n$ brew install docker-machine-driver-xhyve\n\n# docker-machine-driver-xhyve need root owner and uid\n$ sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve\n$ sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve\n```\n### Install socat \n\n```\nbrew install socat\n```\n\n### Install minishift\n\n```\nbrew cask install minishift\n```\n\n## Execute minishift \n\nWith version 0.9.0\n\n```\nminishift start --deploy-router\n```\nWith last version just \n\n```\nminishift start --openshift-version v1.5.0-alpha.3\n```\n## Deploy the app\n\n```\noc login --username=admin --password=admin\noc new-app https://github.com/pollosp/sinatra-openshift-basic.git\noc expose svc/sinatra-openshift-basic\n```\n\n## Endpoint information\n\n```\noc status\n```\n\n## Rebuild project\n\n```\noc start-build sinatra-openshift-basic\n```\n\n## Openshift console\n```\nminishift console\n```\n\n## Openshift IP\n\n```\nminishift ip\n````\n\n# Log as developer\n```\noc login --username=developer --password=developer\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpollosp%2Fsinatra-openshift-basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpollosp%2Fsinatra-openshift-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpollosp%2Fsinatra-openshift-basic/lists"}