{"id":16144249,"url":"https://github.com/ryanj/topbot","last_synced_at":"2025-07-05T23:32:25.214Z","repository":{"id":5917223,"uuid":"7136689","full_name":"ryanj/topbot","owner":"ryanj","description":"social scoreboards for your conversations","archived":false,"fork":false,"pushed_at":"2012-12-13T03:52:21.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T20:15:00.626Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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":"2012-12-12T19:53:33.000Z","updated_at":"2014-03-29T17:49:25.000Z","dependencies_parsed_at":"2022-09-05T08:01:48.059Z","dependency_job_id":null,"html_url":"https://github.com/ryanj/topbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanj/topbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Ftopbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Ftopbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Ftopbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Ftopbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanj","download_url":"https://codeload.github.com/ryanj/topbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Ftopbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263826054,"owners_count":23516747,"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-10T00:12:03.968Z","updated_at":"2025-07-05T23:32:25.184Z","avatar_url":"https://github.com/ryanj.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Running a custom/latest Node[.js] version on Red Hat's OpenShift PaaS\n====================================================================\nThis git repository is a sample Node application along with the\n\"orchestration\" bits to help you run the latest or a custom version\nof Node on Red Hat's OpenShift PaaS.\n\n\nSelecting a Node version to install/use\n---------------------------------------\n\nTo select the version of Node.js that you want to run, just edit or add\na version to the .openshift/markers/NODEJS_VERSION file.\n\n    Example: To install Node.js version 0.9.1, you can run:\n       $ echo -e \"0.9.1\\n\" \u003e\u003e .openshift/markers/NODEJS_VERSION\n\n\nThe action_hooks in this application will use that NODEJS_VERSION marker\nfile to download and extract that Node version if it is available on\nnodejs.org and will automatically set the paths up to use the node/npm\nbinaries from that install directory.\n\n     See: .openshift/action_hooks/ for more details.\n\n    Note: The last non-blank line in the .openshift/markers/NODEJS_VERSION\n          file.determines the version it will install.\n\n\nSteps to get a custom Node.js version running on OpenShift\n----------------------------------------------------------\n\nCreate an account at http://openshift.redhat.com/\n\nCreate a namespace, if you haven't already do so\n\n    rhc domain create \u003cyournamespace\u003e\n\nCreate a nodejs-0.6 application (you can name it anything via -a)\n\n    rhc app create -a palinode  -t nodejs-0.6\n\nAdd this `github nodejs-custom-version-openshift` repository\n\n    cd palinode\n    git remote add upstream -m master git@github.com:ramr/nodejs-custom-version-openshift.git\n    git pull -s recursive -X theirs upstream master\n\nOptionally, specify the custom version of Node.js you want to run with\n(Default is v0.8.9).\nIf you want to more later version of Node (example v0.9.1), you can change\nto that by just writing it to the end of the NODEJS_VERSION file and\ncommitting that change.\n\n    echo \"0.9.1\" \u003e\u003e .openshift/markers/NODEJS_VERSION\n    git commit . -m 'use Node version 0.9.1'\n\nThen push the repo to OpenShift\n\n    git push\n\nThat's it, you can now checkout your application at:\n\n    http://palinode-$yournamespace.rhcloud.com\n    ( See env @ http://palinode-$yournamespace.rhcloud.com/env )\n\nFeel free to change or remove this file, it is informational only.\n\nRepo layout\n===========\nnode_modules/                       - Any Node modules packaged with the app\ndeplist.txt                         - Deprecated.\npackage.json                        - npm package descriptor.\n.openshift/                         - Location for openshift specific files\n.openshift/action_hooks/pre_build   - Script that gets run every git push before\n                                      the build\n.openshift/action_hooks/build       - Script that gets run every git push as\n                                      part of the build process (on the CI\n                                      system if available)\n.openshift/action_hooks/deploy      - Script that gets run every git push after\n                                      build but before the app is restarted\n.openshift/action_hooks/post_deploy - Script that gets run every git push after\n                                      the app is restarted\n\nNotes about layout\n==================\nPlease leave the node_modules and .openshift directories but feel free to\ncreate additional directories if needed.\n\nNote: Every time you push, everything in your remote repo dir gets recreated\n      please store long term items (like an sqlite database) in the OpenShift\n      data directory, which will persist between pushes of your repo.\n      The OpenShift data directory is accessible relative to the remote repo\n      directory (../data) or via an environment variable OPENSHIFT_DATA_DIR.\n\n\nEnvironment Variables\n=====================\nOpenShift provides several environment variables to reference for ease\nof use.  The following list are some common variables but far from exhaustive:\n    process.env.OPENSHIFT_GEAR_NAME  - Application name\n    process.env.OPENSHIFT_GEAR_DIR   - Application dir\n    process.env.OPENSHIFT_DATA_DIR  - For persistent storage (between pushes)\n    process.env.OPENSHIFT_TMP_DIR   - Temp storage (unmodified files deleted after 10 days)\n\nWhen embedding a database using 'rhc app cartridge add', you can reference environment\nvariables for username, host and password:\n    process.env.OPENSHIFT_DB_HOST      - DB Host\n    process.env.OPENSHIFT_DB_PORT      - DB Port\n    process.env.OPENSHIFT_DB_USERNAME  - DB Username\n    process.env.OPENSHIFT_DB_PASSWORD  - DB Password\n\nWhen embedding a NoSQL database using 'rhc app cartridge add', you can reference environment\nvariables for username, host and password:\n    process.env.OPENSHIFT_NOSQL_DB_HOST      - NoSQL DB Host\n    process.env.OPENSHIFT_NOSQL_DB_PORT      - NoSQL DB Port\n    process.env.OPENSHIFT_NOSQL_DB_USERNAME  - NoSQL DB Username\n    process.env.OPENSHIFT_NOSQL_DB_PASSWORD  - NoSQL 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\ndeplist.txt\n===========\nA list of node modules to install, line by line on the server. This will happen\nwhen the user does a git push.\n\n\nAdditional information\n======================\nLink to additional information will be here, when we have it :)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Ftopbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanj%2Ftopbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Ftopbot/lists"}