Sha256: 9480fe6b38366c11c5620f093493cf64f0ccfc3834325867c22ed96afe700c7b
Contents?: true
Size: 1.92 KB
Versions: 2
Compression:
Stored size: 1.92 KB
Contents
### Standup Standup is an application deployment and infrastructure management tool for Rails and Amazon EC2. ## Basic usage 0. Add `gem 'standup'` into Gemfile and install it via `> bundle install` 0. `> standup init` 0. Write actual settings in generated `config/standup.yml` 0. `> standup setup` 0. `> standup status` ## Tweaking default scripts 0. `> standup localize SCRIPT=<script_name>` 0. Script file `config/standup/<script_name>.rb` will be copied from gem. 0. Script's own files, like configs etc. under `config/standup/<script_name>`, if any, will be copied from gem too. 0. You can edit them and standup will use them instead of default. 0. You can delete local script's own files, then default ones will be used. ## Creating new scripts 0. `> standup generate SCRIPT=<script_name>` 0. Script file `config/standup/<script_name>.rb` will be created with empty script stub. 0. Edit it as you want, it's now available for standup. ## Setup script Setup script is just common Rails application deployment workflow. If you just want to add your script into this workflow, just set it as script param, thus overwriting default. For example, if you want to add `rescue` to your configuration, you need to: 0. Write that `rescue` script 0. Change standup.yml like the following: nodes: main: ... setup: ec2 basics ruby postgresql passenger rescue webapp update ## To do - Redesign node:script running concept: `setup` script need to be run for each node `shell` script is meant to be run for one specific node `init` script does not relate to any node at all. - If there is more than one node in standup.yml, require node name(s) or `all` explicitly set: `standup shell web` `standup update db,web` `standup setup all` - **?** Script sequences: rework default script as script sequence ## Copyright Copyright (c) 2010 Ilia Ablamonov, Cloud Castle Inc. See LICENSE for details.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
standup-0.3.3 | README.md |
standup-0.3.2 | README.md |