{"id":15405905,"url":"https://github.com/elia/capistrano-uwsgi","last_synced_at":"2026-02-21T18:30:16.114Z","repository":{"id":11227842,"uuid":"13619693","full_name":"elia/capistrano-uwsgi","owner":"elia","description":"Configuration and managements capistrano tasks for uWSGI","archived":false,"fork":false,"pushed_at":"2014-02-10T17:11:50.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T03:51:58.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/elia.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":"2013-10-16T13:26:20.000Z","updated_at":"2019-07-09T11:45:02.000Z","dependencies_parsed_at":"2022-08-31T18:13:13.482Z","dependency_job_id":null,"html_url":"https://github.com/elia/capistrano-uwsgi","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elia%2Fcapistrano-uwsgi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elia%2Fcapistrano-uwsgi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elia%2Fcapistrano-uwsgi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elia%2Fcapistrano-uwsgi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elia","download_url":"https://codeload.github.com/elia/capistrano-uwsgi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239850437,"owners_count":19707350,"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-01T16:18:53.440Z","updated_at":"2026-02-21T18:30:16.059Z","avatar_url":"https://github.com/elia.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capistrano::Uwsgi\n\n\nThis gem provides two capistrano tasks:\n\n* `uwsgi:setup` - creates `/etc/uwsgi/apps-enabled/#{application}-#{stage}.ini`\n* `uwsgi:restart` - touches `uwsgi_ini` (see below)\n\nAnd uWSGI configuration file generator, that will create local copy of default uWSGI config for customization.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'capistrano-uwsgi'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install capistrano-uwsgi\n\n## Usage\n\nAdd this to your `config/deploy.rb` file:\n\n    require 'capistrano/uwsgi/tasks'\n\nMake sure, following variables are defined in your `config/deploy.rb`:\n\n* `application` - application name\n* `stage` - the stage (usually from `capistrano/ext/multistage`)\n* `user` - remote user name\n* `group` - remote group name\n* `rack_env` - RACK_ENV used to run the app\n* `deploy_to` - deployment path\n* `uwsgi_mode` - can be either `:standalone` or `:emperor`\n* `app_port` - application port (required by the `:standalone` mode)\n* `rvm_path` - set this var to enable rvm usage inside uWSGI (optional)\n* `uwsgi_ini` - the path of the _compiled_ uwsgi.ini config file (optional, defaults to: `/etc/uwsgi/apps-enabled/#{application}-#{stage}.ini`)\n\nLaunch new tasks:\n\n    $ cap uwsgi:setup\n    $ cap uwsgi:restart\n\nOr you can add hook to call this tasks after `deploy:setup`. Add to your `config/deploy.rb`:\n\n    after 'deploy:setup', 'uwsgi:setup', 'uwsgi:restart'\n\nIf you want to customize uWSGI configuration, just generate local uWSGI config before running `uwsgi:setup`:\n\n    $ rails generate capistrano:uwsgi:config\n\nAnd then edit file `config/uwsgi.ini.erb` as you like.\n\n## Contributing\n\n1. Fork it\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\n\n## Credits\n\nOriginal project structure and README from [Ivan Tkalin's capistrano-nginx](https://github.com/ivalkeen/capistrano-nginx).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felia%2Fcapistrano-uwsgi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felia%2Fcapistrano-uwsgi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felia%2Fcapistrano-uwsgi/lists"}