Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed instructions to be relevant to current methods.
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>` |