{"id":20607473,"url":"https://github.com/loopj/capistrano-node-deploy","last_synced_at":"2025-04-04T17:08:50.724Z","repository":{"id":3551783,"uuid":"4612515","full_name":"loopj/capistrano-node-deploy","owner":"loopj","description":"Capistrano recipe for deploying node.js apps","archived":false,"fork":false,"pushed_at":"2017-10-30T17:12:51.000Z","size":59,"stargazers_count":196,"open_issues_count":4,"forks_count":53,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-28T16:09:01.158Z","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/loopj.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":"2012-06-10T03:42:09.000Z","updated_at":"2025-02-11T12:02:49.000Z","dependencies_parsed_at":"2022-07-28T21:18:56.701Z","dependency_job_id":null,"html_url":"https://github.com/loopj/capistrano-node-deploy","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopj%2Fcapistrano-node-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopj%2Fcapistrano-node-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopj%2Fcapistrano-node-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopj%2Fcapistrano-node-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loopj","download_url":"https://codeload.github.com/loopj/capistrano-node-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217184,"owners_count":20903009,"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-11-16T10:07:32.191Z","updated_at":"2025-04-04T17:08:50.676Z","avatar_url":"https://github.com/loopj.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"capistrano-node-deploy\n======================\n\nCapistrano recipe for deploying node.js apps.\n\nFeatures\n--------\n- Provides `cap deploy` functionality for your node app\n- Installs node packages (`yarn`) during deploys, using a shared folder for speed\n- Automatically creates upstart scripts for your node apps\n- Provides tasks for starting (`cap node:start`) and stopping (`cap node:stop`) your node app\n\n\nUsage\n-----\n\nFirst install the gem:\n\n    sudo gem install capistrano-node-deploy\n\nor add it to your `Gemfile` if you have one:\n\n    gem \"capistrano-node-deploy\"\n\nNow add the following to your `Capfile`\n\n    require \"capistrano/node-deploy\"\n\n\nFull Capfile Example\n--------------------\n\n```ruby\nrequire \"capistrano/node-deploy\"\n\nset :application, \"my-node-app-name\"\nset :repository,  \"git@github.com:/loopj/my-node-app-name\"\nset :user, \"deploy\"\nset :scm, :git\nset :deploy_to, \"/var/apps/my-app-folder\"\n\nrole :app, \"myserver.com\"\n```\n\n\nOverriding Default Settings\n---------------------------\n\n```ruby\n# Set app command to run (defaults to index.js, or your `main` file from `package.json`)\nset :app_command, \"my_server.coffee\"\n\n# Set additional environment variables for the app\nset :app_environment, \"PORT=8080\"\n\n# Set node binary to run (defaults to /usr/bin/node)\nset :node_binary, \"/usr/bin/coffee\"\n    \n# Set node environment (defaults to production)\nset :node_env, \"staging\"\n    \n# Set the user to run node as (defaults to deploy)\nset :node_user, \"james\"\n\n# Set the name of the upstart command (defaults to #{application}-#{node_env})\nset :upstart_job_name, \"myserver\"\n```\n\n\nContributing to capistrano-node-deploy\n--------------------------------------\n \n* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.\n* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.\n* Fork the project.\n* Start a feature/bugfix branch.\n* Commit and push until you are happy with your contribution.\n* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.\n* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.\n\n\nCopyright\n---------\n\nCopyright (c) 2012 James Smith. See LICENSE.txt for\nfurther details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopj%2Fcapistrano-node-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floopj%2Fcapistrano-node-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopj%2Fcapistrano-node-deploy/lists"}