README.md in capistrano-node-deploy-1.1.0 vs README.md in capistrano-node-deploy-1.2.0

- old
+ new

@@ -18,11 +18,11 @@ sudo gem install capistrano-node-deploy or add it to your `Gemfile` if you have one: - gem "capistrano-rails-deploy", "~> 1.0.0" + gem "capistrano-rails-deploy" Now add the following to your `Capfile` require "capistrano/node-deploy" @@ -42,14 +42,23 @@ Overriding Default Settings --------------------------- - # Override your node binary path + # Set app command to run (defaults to index.js, or your `main` file from `package.json`) + set :app_command, "my_server.coffee" + + # Set node binary to run (defaults to /usr/bin/node) set :node_binary, "/usr/bin/coffee" + + # Set node environment (defaults to production) + set :node_env, "staging" + + # Set the user to run node as (defaults to deploy) + set :node_user, "james" - # Override your app command - set :app_command, "index.coffee --environment production" + # Set the name of the upstart command (defaults to #{application}-#{node_env}) + set :upstart_job_name, "myserver" Contributing to capistrano-node-deploy --------------------------------------