{"id":16144342,"url":"https://github.com/ryanj/hexboard-old","last_synced_at":"2026-06-23T08:31:48.567Z","repository":{"id":33049138,"uuid":"36685153","full_name":"ryanj/hexboard-old","owner":"ryanj","description":"container-based game tiles","archived":false,"fork":false,"pushed_at":"2015-07-14T07:50:05.000Z","size":10350,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T05:34:50.792Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ryanj.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}},"created_at":"2015-06-01T19:57:40.000Z","updated_at":"2015-10-30T13:48:02.000Z","dependencies_parsed_at":"2022-08-24T14:23:22.647Z","dependency_job_id":null,"html_url":"https://github.com/ryanj/hexboard-old","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanj/hexboard-old","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fhexboard-old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fhexboard-old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fhexboard-old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fhexboard-old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanj","download_url":"https://codeload.github.com/ryanj/hexboard-old/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fhexboard-old/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34682622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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-10-10T00:12:39.387Z","updated_at":"2026-06-23T08:31:48.558Z","avatar_url":"https://github.com/ryanj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexboard [![Dependency Check](http://img.shields.io/david/ryanj/hexboard.svg)](https://david-dm.org/ryanj/hexboard)\n\nContainer vizualization for [OpenShift platformV3](http://openshift.com).  As featured in the [Red Hat Summit 2015 - JBoss Keynote demo](https://www.youtube.com/watch?v=wWNVpFibayA\u0026t=26m48s)\n\n## Hardware\n\n*TODO:* \n\n* Add a link to DevNation pulse session\n* Add link to ansible scripts\n\nTo use a VM, follow the setup instructions from [this workshop](http://bit.ly/v3devs)\n\n## Authentication\nAfter setting up your OpenShiftV3 cluster, fetch an access token on the web, at `$OPENSHIFT_SERVER/oauth/token/request`.\n\nUpdate your [configuration](#configuration) with the new info:\n\n```bash\nexport ACCESS_TOKEN=\"YOUR-ACCESS-TOKEN\"\nexport OPENSHIFT_SERVER=\"localhost:8443\"\n```\n\nUse the information from the browser's `oauth/token/display` page to authenticate using the [`oc`](https://github.com/openshift/origin/releases) cli tool:\n\n```bash\noc login --server=https://$OPENSHIFT_SERVER --token=$ACCESS_TOKEN\n```\n\n## Create a new Project\nCreate a new `hexboard` project on the web.\n\n### Install the Template\nInstall the application template, making it easy to launch from the web or CLI:\n\n```bash\noc project hexboard\noc create -f app_template.json\n```\n\n## Configuration\n\nThese config keys can be used for running the demo locally:\n\n```bash\nexport HEXBOARD_UI_SIZE=32 \nexport HEXBOARD_HOST=\"localhost:8080\"\nexport OPENSHIFT_SERVER=\"localhost:8443\"\nexport ACCESS_TOKEN=\"ExXbbtuE-YOUR-ACCESS-TOKEN-eZ8Z9RQ\"\n```\n\nTo run the same code inside a VM, you'll need to make a few adjustments:\n\n```bash\nexport HEXBOARD_HOST=\"localhost:1080\"\nexport OPENSHIFT_SERVER=\"172.17.42.1:8443\"\n```\n\nDouble-check your config keys before proceeding:\n\n```bash\necho $HEXBOARD_UI_SIZE\necho $HEXBOARD_HOST\necho $OPENSHIFT_SERVER\necho $ACCESS_TOKEN\n```\n\nThe configuration keys can be entered on the web, or provided via the command line.\n\n# Launching from the CLI\n\nAfter setting your config keys, run the following to launch the demo from a pre-installed template:\n\n```bash\noc process -v=\"HEXBOARD_UI_SIZE=${HEXBOARD_UI_SIZE},HEXBOARD_HOST=${HEXBOARD_HOST},OPENSHIFT_SERVER=${OPENSHIFT_SERVER},ACCESS_TOKEN=${ACCESS_TOKEN}\" hexboard | oc create -f -\n```\n\n# Launching on the Web\n\n1. Click \"Get Started\" or \"Create +\" from the hexboard project overview page\n2. Select the pre-installed `hexboard` template\n3. Confirm the app creation details, update the `ACCESS_TOKEN`, `HEXBOARD_HOST`, and `OPENSHIFT_SERVER` fields as needed.\n\n# Build\n\nDocker image builds can be initiated by navigating to the \"Builds\" tab in the V3 web console.  Click on the `Start Build` button for each service.\n\nYou can also initiate the builds from the command line:\n\n```bash\noc start-build hexboard\noc start-build sketchpod\n```\n\n# Routing \nExpose the `sketchpod` service via an external route:\n\n```bash\noc expose se/hexboard --hostname=\"${HEXBOARD_HOST}\"\n```\n\nYou may need to omit the port number for this step.\n\n# Scale\n\nWhen the build completes, verify that the hexboard is accessible at `http://$HEXBOARD_HOST`. \n\nThen, scale up the number of `sketchpod` containers to populate the `hexboard` UI:\n\n```bash\noc scale rc/sketchpod-1 --replicas=$HEXBOARD_UI_SIZE\n```\n\n## Monitoring from the CLI\n\nWatch live API data:\n\n```bash\nnode client_get.js\n```\n\nCount Completed pods:\n\n```bash\noc get pods | grep -v 'CONTAINER' | grep -v deployment | grep -iv Pending | grep -iv 'not ready' | wc -l\n```\n\nCount Pending pods:\n\n```bash\noc get pods | grep -v deployer | grep Pending | wc -l\n```\n\n### Garbage Collection\n\nTo clean up (**WARNING: clears all data in the current project!**):\n\n```bash\noc scale rc/sketchpod-1 --replicas=0\noc delete all --all\n```\n\n## License\nThis code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fhexboard-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanj%2Fhexboard-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fhexboard-old/lists"}