{"id":28566800,"url":"https://github.com/salsify/heroku_rails_deploy","last_synced_at":"2025-06-10T15:39:00.111Z","repository":{"id":56876302,"uuid":"67062707","full_name":"salsify/heroku_rails_deploy","owner":"salsify","description":"Simple script for deploying a Rails project to Heroku","archived":false,"fork":false,"pushed_at":"2018-03-27T19:18:48.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":59,"default_branch":"master","last_synced_at":"2025-04-14T08:46:00.573Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salsify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-31T18:21:33.000Z","updated_at":"2018-03-27T19:18:43.000Z","dependencies_parsed_at":"2022-08-20T23:10:26.169Z","dependency_job_id":null,"html_url":"https://github.com/salsify/heroku_rails_deploy","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salsify%2Fheroku_rails_deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salsify%2Fheroku_rails_deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salsify%2Fheroku_rails_deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salsify%2Fheroku_rails_deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salsify","download_url":"https://codeload.github.com/salsify/heroku_rails_deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259340,"owners_count":22040813,"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":"2025-06-10T15:38:56.636Z","updated_at":"2025-06-10T15:39:00.089Z","avatar_url":"https://github.com/salsify.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HerokuRailsDeploy\n\nThis gem provides a simple Heroku deploy script for Rails applications. Deploys\nfollowing the following steps:\n\n1. Push updated Avro schemas to a schema registry\n2. Push code to Heroku\n3. If there are pending migrations, run them and restart the Heroku dynos\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngroup :development do\n  gem 'heroku_rails_deploy', require: false\nend\n```\n\nThen execute:\n\n    $ bundle\n\nThen run the generator to create the deploy script and configuration file:\n\n    $ rails generate heroku_rails_deploy\n    \nFinally follow the instructions in `config/heroku.yml` to configure the \nenvironments/Heroku applications for your project e.g.\n\n```yml\nproduction: my-app-prod\nstaging: my-app-staging\n```\n\n## Usage\n\nFrom your application's root directory run the `bin/deploy` script with the `--help`\nargument to print usage:\n\n```\n$ bin/deploy --help\nUsage: deploy [options]\n    -e, --environment ENVIRONMENT    The environment to deploy to. Must be in production, staging (default production)\n    -r, --revision REVISION          The git revision to push. (default HEAD)\n        --register-avro-schemas      Force the registration of Avro schemas when deploying to a non-production environment.\n        --skip-avro-schemas          Skip the registration of Avro schemas when deploying to production.\n    -h, --help                       Show this message\n```\n\nA typical deploy command will look something like:\n```\n$ bin/deploy --environment production\n```\n\nNote you can omit the environment to deploy to your default environment.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then,\nrun `rake spec` to run the tests. You can also run `bin/console` for an\ninteractive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. \n\nTo release a new version, update the version number in `version.rb`, and then\nrun `bundle exec rake release`, which will create a git tag for the version,\npush git commits and tags, and push the `.gem` file to\n[rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/salsify/heroku_rails_deploy.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalsify%2Fheroku_rails_deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalsify%2Fheroku_rails_deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalsify%2Fheroku_rails_deploy/lists"}