Skip to content

Commit

Permalink
Update README to match new recipe structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyAghion committed Oct 31, 2013
1 parent ac06eab commit 5723fe6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ At the moment, only Unicorn/Nginx-style Rails apps are supported.
Opsworks Set-Up
---------------

The `opsworks_custom_env::deploy` recipe should be added as a custom recipe to the _Deploy_ event.
* Add `custom_env` and `symlink_before_migrate` attributes to the stack's custom JSON as in the example above.
* Associate the `opsworks_custom_env::configure` custom recipe with the _Deploy_ event in your rails app's layer.

However, a deploy isn't necessary if you just want to update the custom configuration. Instead, update the stack's custom JSON, then choose to _Run Command_ > _execute recipes_ and enter `opsworks_custom_env::update` into the _Recipes to execute_ field. Executing the recipe will write an updated `application.yml` file and restart unicorn workers.
A deploy isn't necessary if you just want to update the custom configuration. Instead, update the stack's custom JSON, then choose to _Run Command_ > _execute recipes_ and enter `opsworks_custom_env::configure` into the _Recipes to execute_ field. Executing the recipe will write an updated `application.yml` file and restart unicorn workers.

0 comments on commit 5723fe6

Please sign in to comment.