{"id":17269089,"url":"https://github.com/bennylope/heku","last_synced_at":"2026-05-18T10:33:48.840Z","repository":{"id":136551806,"uuid":"50599570","full_name":"bennylope/heku","owner":"bennylope","description":"A Heroku deployment workflow management script (for Heroku Toolbelt)","archived":false,"fork":false,"pushed_at":"2016-01-28T17:25:32.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T20:38:50.510Z","etag":null,"topics":["bash","deployment","heroku"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bennylope.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-28T17:16:52.000Z","updated_at":"2019-07-12T22:55:24.000Z","dependencies_parsed_at":"2023-04-22T16:01:12.290Z","dependency_job_id":null,"html_url":"https://github.com/bennylope/heku","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bennylope/heku","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennylope%2Fheku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennylope%2Fheku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennylope%2Fheku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennylope%2Fheku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bennylope","download_url":"https://codeload.github.com/bennylope/heku/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bennylope%2Fheku/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","deployment","heroku"],"created_at":"2024-10-15T08:15:19.026Z","updated_at":"2026-05-18T10:33:43.827Z","avatar_url":"https://github.com/bennylope.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heku\n\nA tool for working with multiple [He]ro[ku] environments.\n\nWhy?\n\n- You should have multiple environments to handle production code, staging\n  code, and features that are under development but require review\n- Remembering and typing app names for specific application environments is\n  annoying and error prone\n- Developers need to be able to move things from environment to environment\n- Developers and clients need to be able to see features in-development\n\nNote that this is currently Django specific.\n\n## Install\n\nExecute the script with the `install` command.\n\n    ./heku.sh install\n\nThis will copy the script to your `/usr/local/bin` directory which should be\nonly your `PATH`. From this point on you can use the `heku` command by itself.\n\nIf you do not have [`jq`](https://stedolan.github.io/jq/) installed heku will\nlet you know and will not work until it is installed. On Mac OS the easiest way\nto install jq is with [Homebrew](http://brew.sh/):\n\n    brew install jq\n\n## Usage\n\n    heku \u003cenvironment\u003e \u003caction\u003e\n\nFor most purposes, heku just knows which of your Heroku apps refer to named\nenvironments and lets you forget the `--app myapp-name-dev` stuff.\n\nIt knows a few useful commands:\n\n    heku promote\n    heku dj shell_plus\n\nOtherwise just wraps the Heroku toolbelt with the app name included:\n\n    heku staging config:set ENV=staging\n\n### Feature deploys\n\nheku also lets you deploy arbitrary Git branches to Heroku::\n\n    heku feature deploy\n\nAnd then work with those apps::\n\n    heku feature config\n    heku feature cmd shell_plus\n\n### Feature GOTCHAs\n\n- Heroku deployments are Git-based which means if you change the history of\n  your feature branch (rebasing) you will have a bad time\n\n## Configuration\n\nYou must configure the base environment names, remotes, and app prefix in a\nJSON file named `heku.json` in the root of your project:\n\n    {\n      \"HEROKU_APP_PREFIX\": \"myapp-dev\",\n      \"APP_MANAGE_PATH\": \"myapp/manage.py\",\n      \"ENVS\": {\n          \"DEV\": {\n              \"APP\": \"myapp-dev\",\n              \"REMOTE\": \"heroku-myapp-dev\"\n          },\n          \"STAGING\": {\n              \"APP\": \"myapp-staging\",\n              \"REMOTE\": \"heroku-myapp-staging\"\n          },\n          \"PRODUCTION\": {\n              \"APP\": \"myapp\",\n              \"REMOTE\": \"heroku-myapp\"\n          }\n      }\n    }\n\n## Uninstall\n\nheku can uninstall itself:\n\n    heku uninstall\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennylope%2Fheku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbennylope%2Fheku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbennylope%2Fheku/lists"}