dusty-basic_deploy 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +7 -36
- metadata +1 -1
data/README.txt
CHANGED
@@ -1,48 +1,19 @@
|
|
1
1
|
# Dusty's basic capistrano deploy script
|
2
2
|
|
3
|
+
* Inspired by http://github.com/leehambley/railsless-deploy
|
4
|
+
Thanks Lee!
|
5
|
+
|
3
6
|
## Installation
|
4
7
|
|
5
|
-
|
6
|
-
|
8
|
+
# gem sources -a http://gems.github.com/
|
9
|
+
# gem install dusty-basic_deploy
|
7
10
|
|
8
11
|
## Usage
|
9
12
|
|
10
|
-
|
13
|
+
# vi Capfile
|
11
14
|
|
12
15
|
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
|
13
|
-
# Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
|
14
|
-
|
15
16
|
require 'rubygems'
|
16
|
-
require '
|
17
|
+
require 'basic_deploy'
|
17
18
|
load 'config/deploy'
|
18
19
|
|
19
|
-
You should then be able to proceed as you would usually, you may want to familiarise yourself with the truncated list of tasks, you can get a full list with:
|
20
|
-
|
21
|
-
$ cap -T
|
22
|
-
|
23
|
-
## What's in the box?
|
24
|
-
|
25
|
-
If you want to try before you buy, here's the list of tasks included with this version of the deploy recipe:
|
26
|
-
|
27
|
-
cap deploy # Deploys your project.
|
28
|
-
cap deploy:check # Test deployment dependencies.
|
29
|
-
cap deploy:cleanup # Clean up old releases.
|
30
|
-
cap deploy:cold # Deploys and starts a `cold' application.
|
31
|
-
cap deploy:pending # Displays the commits since your last deploy.
|
32
|
-
cap deploy:pending:diff # Displays the `diff' since your last deploy.
|
33
|
-
cap deploy:rollback # Rolls back to a previous version and restarts.
|
34
|
-
cap deploy:rollback:code # Rolls back to the previously deployed version.
|
35
|
-
cap deploy:setup # Prepares one or more servers for deployment.
|
36
|
-
cap deploy:symlink # Updates the symlink to the most recently deployed ...
|
37
|
-
cap deploy:update # Copies your project and updates the symlink.
|
38
|
-
cap deploy:update_code # Copies your project to the remote servers.
|
39
|
-
cap deploy:upload # Copy files to the currently deployed version.
|
40
|
-
cap invoke # Invoke a single command on the remote servers.
|
41
|
-
cap shell # Begin an interactive Capistrano session.
|
42
|
-
|
43
|
-
|
44
|
-
## Bugs & Feedback
|
45
|
-
|
46
|
-
Via my Github profile please:
|
47
|
-
|
48
|
-
http://github.com/leehambley
|