{"id":18103156,"url":"https://github.com/scarfacedeb/mina-unicorn","last_synced_at":"2025-04-13T04:23:13.943Z","repository":{"id":15300686,"uuid":"18030444","full_name":"scarfacedeb/mina-unicorn","owner":"scarfacedeb","description":"Unicorn tasks for Mina","archived":false,"fork":false,"pushed_at":"2021-05-21T12:03:46.000Z","size":27,"stargazers_count":45,"open_issues_count":1,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T09:44:32.650Z","etag":null,"topics":["deploy","mina","rails","ruby","unicorn"],"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/scarfacedeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2014-03-23T09:44:49.000Z","updated_at":"2019-10-30T14:01:35.000Z","dependencies_parsed_at":"2022-07-31T04:37:52.249Z","dependency_job_id":null,"html_url":"https://github.com/scarfacedeb/mina-unicorn","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarfacedeb%2Fmina-unicorn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarfacedeb%2Fmina-unicorn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarfacedeb%2Fmina-unicorn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scarfacedeb%2Fmina-unicorn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scarfacedeb","download_url":"https://codeload.github.com/scarfacedeb/mina-unicorn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248662283,"owners_count":21141548,"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":["deploy","mina","rails","ruby","unicorn"],"created_at":"2024-10-31T22:10:40.008Z","updated_at":"2025-04-13T04:23:13.916Z","avatar_url":"https://github.com/scarfacedeb.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mina::Unicorn\n\n[Mina](https://github.com/nadarei/mina) tasks for handle with\n[Unicorn](http://unicorn.bogomips.org/)\n\nThis gem provides several mina tasks:\n\n    mina unicorn:start           # Start unicorn\n    mina unicorn:stop            # Stop unicorn\n    mina unicorn:restart         # Restart unicorn (with zero-downtime)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'mina-unicorn', :require =\u003e false\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install mina-unicorn\n\n## Usage\n\nAdd this to your `config/deploy.rb` file:\n\n    require 'mina/unicorn'\n\nMake sure to add the following directories to `:shared_paths` in `config/deploy.rb`:\n\n```ruby\nset :shared_paths, ['tmp/sockets', 'tmp/pids']\n```\n\nYou can also set individual config variables to override default values for\nunicorn:\n\n* `unicorn_env`    - set unicorn environment, default: depending on `rails_env`: `development` or `deployment` (see: [Rack environment](http://unicorn.bogomips.org/unicorn_1.html#rack-environment))\n* `rails_env`      - set rails environment, default: `production`\n* `unicorn_config` - unicorn config file, default: `config/unicorn.rb`\n* `unicorn_cmd`    - bundle exec unicorn, default: `RAILS_ENV=production bundle exec unicorn` (see: [mina/rails](https://github.com/mina-deploy/mina/blob/master/lib%2Fmina%2Frails.rb#L25))\n* `unicorn_pid`    - unicorn pid file, default: `tmp/pids/unicorn.pid`\n\nThen:\n\n```\n$ mina unicorn:start\n```\n\n## Contributing\n\n1. Fork it ( http://github.com/scarfacedeb/mina-unicorn/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscarfacedeb%2Fmina-unicorn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscarfacedeb%2Fmina-unicorn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscarfacedeb%2Fmina-unicorn/lists"}