README.md in sunzi-rails-0.2.21 vs README.md in sunzi-rails-0.3.0

- old
+ new

@@ -35,11 +35,11 @@ Go into your `config/deploy.rb` and make sure to have these set: ```ruby set :ruby_version, IO.read("#{File.dirname(__FILE__)}/../.ruby-version").strip -set :admin_name, 'deployer' +set :admin_name, 'admin' set :deployer_name, 'deployer' ``` Go into your `config/deploy/[stage].rb` and make sure to have these set: @@ -74,10 +74,11 @@ It's important to note that `deploy.rb` and `deploy/[stage].rb` are loaded in that order and that variables defined within `deploy/[stage].rb` aren't available within `deploy.rb`. Go into the project directory, then run `sunzi-cap deploy`: ```bash -$ sunzi-cap deploy staging deployer --sudo +$ sunzi-cap deploy staging admin --sudo +$ sunzi-cap deploy staging deployer ``` Now, what it actually does is: 1. Compile `sunzi.yml` to generate attributes and retrieve remote recipes, then copy files scoped to `admin` role into the `compiled` directory