Skip to content

Commit

Permalink
Changed instructions to be relevant to current methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjl2 committed Aug 17, 2010
1 parent 61fca01 commit 161d1a0
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
@@ -1,22 +1,22 @@
ey-cloud-recipes
===============
================
This is a repository of some basic recipes for EY-Cloud using chef to deploy, setup, and configure common tools for Rails applications.


Installation
============

Follow these steps to use custom deployment recipes with your applications.

* Download your ey-cloud.yml file from your EY Cloud [Extras](http://cloud.engineyard.com/extras) page and put it in your HOME directory ~/.ey-cloud.yml
* Install the required gems:
sudo gem install rest-client aws-s3
sudo gem install ey-flex --source http://gems.engineyard.com # make sure you are using the lastest version
* Add any custom recipes or tweeks to the base recipes of your own and commit them to HEAD.
* Upload them with: ey-recipes --upload ENV # where ENV is the name of your environment in Engine Yard Cloud. This may be different than your Rails environment name.
* Once you have completed these steps, each deployment will run the latest version of your recipes after the default Engine Yard recipes have run. When you update your recipes, just re-run the ey-recipes --upload ENV task.
For full instructions on creating and deploying chef customizations, see [Custom Chef Recipes](http://docs.engineyard.com/appcloud/howtos/customizations/custom-chef-recipes) on the Engine Yard docs site.

* First install the engineyard gem.
`sudo gem install engineyard`
* Fork this repository.
* Clone the repository from your Github account onto your local development machine. Be sure you do not put this inside of your app repository as nested repositories are not supported in git.
`git clone git@github.com:<github username>/ey-cloud-recipes.git`


[eysolo]: http://www.engineyard.com/solo
[cloud]: https://cloud.engineyard.com/extras
This local copy of your ey-cloud-recipes repository will be the folder you work in when writing custom recipes for your environment.
* Add any custom recipes or tweeks to the base recipes of your own and commit them to HEAD.
* Upload them with:
`ey recipes upload -e <environment name>` # where ENV is the name of your environment in Engine Yard Cloud. This may be different than your Rails environment name.
* Then run your recipes with:
`ey recipes apply -e <environment name>`

0 comments on commit 161d1a0

Please sign in to comment.