{"id":13778420,"url":"https://github.com/mgrachev/capistrano-hanami","last_synced_at":"2025-05-11T11:36:08.624Z","repository":{"id":56843225,"uuid":"77739015","full_name":"mgrachev/capistrano-hanami","owner":"mgrachev","description":"🌸 Hanami tasks for Capistrano","archived":true,"fork":false,"pushed_at":"2020-01-07T16:55:42.000Z","size":13,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-31T15:08:06.587Z","etag":null,"topics":["capistrano","deployment","hanami","ruby"],"latest_commit_sha":null,"homepage":"https://www.mgrachev.com/projects","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/mgrachev.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-12-31T12:16:49.000Z","updated_at":"2024-01-04T15:55:45.000Z","dependencies_parsed_at":"2022-09-09T05:50:16.164Z","dependency_job_id":null,"html_url":"https://github.com/mgrachev/capistrano-hanami","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgrachev%2Fcapistrano-hanami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgrachev%2Fcapistrano-hanami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgrachev%2Fcapistrano-hanami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgrachev%2Fcapistrano-hanami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgrachev","download_url":"https://codeload.github.com/mgrachev/capistrano-hanami/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225048929,"owners_count":17412893,"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":["capistrano","deployment","hanami","ruby"],"created_at":"2024-08-03T18:00:53.701Z","updated_at":"2024-11-17T14:30:26.224Z","avatar_url":"https://github.com/mgrachev.png","language":"Ruby","funding_links":[],"categories":["Hanami Gem List"],"sub_categories":["Deploy"],"readme":"# 🌸 Capistrano::Hanami\n\n[Hanami](https://github.com/hanami/hanami) tasks for [Capistrano](https://github.com/capistrano/capistrano) v3:\n\n  - `cap deploy:migrate`\n  - `cap deploy:compile_assets`\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngroup :development do\n  gem 'capistrano', '~\u003e 3.7'\n  gem 'capistrano-hanami', require: false\nend\n```\n\nAnd then execute:\n\n    $ bundle\n\nThen run the generator to create a basic set of configuration files:\n\n    $ bundle exec cap install\n\n## Usage\n\n```ruby\n# Capfile\nrequire 'capistrano/hanami' # It also requires bundler\n```\n\nYou can tweak some Hanami-specific options in `config/deploy.rb`:\n\n```ruby\n# If the environment differs from the stage name\nset :hanami_env, 'staging'\n\n# Defaults to :app role\nset :migration_role, :db\n\n# Defaults to the primary :app server\nset :migration_servers, -\u003e { primary(fetch(:migration_role)) }\n\n# Defaults to false\n# Skip migration if files in db/migrations were not modified\nset :conditionally_migrate, true\n\n# Defaults to [:web]\nset :assets_roles, [:web, :app]\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/mgrachev/capistrano-hanami.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgrachev%2Fcapistrano-hanami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgrachev%2Fcapistrano-hanami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgrachev%2Fcapistrano-hanami/lists"}