{"id":14956023,"url":"https://github.com/elquimista/dploy-rails","last_synced_at":"2026-01-19T08:02:24.651Z","repository":{"id":59153032,"uuid":"102355141","full_name":"elquimista/dploy-rails","owner":"elquimista","description":"Simple Rails deployer for VPS and Nginx (or similar reverse proxy server)","archived":false,"fork":false,"pushed_at":"2018-06-12T22:58:15.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T06:57:05.205Z","etag":null,"topics":["nginx","rails-deployer","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elquimista.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":"2017-09-04T11:40:24.000Z","updated_at":"2019-12-07T02:24:27.000Z","dependencies_parsed_at":"2022-09-13T11:01:14.551Z","dependency_job_id":null,"html_url":"https://github.com/elquimista/dploy-rails","commit_stats":null,"previous_names":["knocknock-team/dploy-rails"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/elquimista/dploy-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elquimista%2Fdploy-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elquimista%2Fdploy-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elquimista%2Fdploy-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elquimista%2Fdploy-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elquimista","download_url":"https://codeload.github.com/elquimista/dploy-rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elquimista%2Fdploy-rails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28563233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["nginx","rails-deployer","ruby","ruby-on-rails"],"created_at":"2024-09-24T13:12:11.897Z","updated_at":"2026-01-19T08:02:24.630Z","avatar_url":"https://github.com/elquimista.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dploy-rails\n\nSimple Rails deployer for VPS and Nginx (or similar reverse proxy server) for Rails 5.1 and above.\n\n## Prerequisites\n\n`dploy-rails` assumes the following things:\n- Your Rails application is set to run on top of nginx in the remote server. For more details, please read this article here - [How to Setup Rails App with Puma and NGINX](http://artificis.gitlab.io/development/2017/02/03/how-to-setup-rails-app-with-puma-and-nginx.html)\n- Rails application codebase is hosted on certain git repository service and deploy key (SSH-key used for read-only purpose) is added to the repository.\n- You have `build` script inside `package.json` file.  \n  E.g.,\n  ```\n  \"build\": \"sh -c 'rm -rf public/webpack/production/* || true \u0026\u0026 bin/rails react_on_rails:locale \u0026\u0026 bin/rails assets:precompile \u0026\u0026 yarn webpack:build:production'\"\n  ```\n- You have `start` script inside `package.json` file.\n  E.g.,\n  ```\n  \"start\": \"bundle exec puma -e $RAILS_ENV -p $PORT -b unix://./tmp/sockets/puma.sock --pidfile ./tmp/pids/puma.pid -d\"\n  ```\n- You use bash on the remote server.\n- In `.bashrc` file, following lines must be commented out if present:\n  ```\n  # If not running interactively, don't do anything\n  case $- in\n      *i*) ;;\n        *) return;;\n  esac\n  ```\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'dploy-rails'\n```\n\nAnd then execute:\n\n    $ bundle\n\n## Usage\n\nIn order for `dploy-rails` to work properly, you need to set the following env variables:\n```\nDEPLOY_DOMAIN=\u003cIPv4 or canonical domain name\u003e\nDEPLOY_USER=\u003cuser name you used to use for SSH-ing to the server\u003e\nDEPLOY_IDENTITY_FILE=\u003cSSH identity file (private key or pem file)\u003e\nDEPLOY_PATH=\u003cRails application path for deployment on the remote server\u003e\n```\n\nThis gem will make a new Rails task available. Once you are ready to deploy, just hit the following command in your terminal:\n\n    $ bin/rails deploy\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` 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/knocknock-team/dploy-rails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felquimista%2Fdploy-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felquimista%2Fdploy-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felquimista%2Fdploy-rails/lists"}