diff --git a/documentation/overview/what-is-capistrano/index.markdown b/documentation/overview/what-is-capistrano/index.markdown index 1bf85a10..0546dff4 100644 --- a/documentation/overview/what-is-capistrano/index.markdown +++ b/documentation/overview/what-is-capistrano/index.markdown @@ -22,69 +22,8 @@ Ruby software to form part of a larger tool. #### What does it look like? -```bash -me@localhost $ cap staging deploy -``` +![Capistrano 3.5 / Airbrussh formatter screenshot](/images/airbrussh-screenshot.png) -
-
DEBUG Uploading /tmp/git-ssh.sh 0%
- INFO Uploading /tmp/git-ssh.sh 100%
- INFO [649ae05d] Running /usr/bin/env chmod +x /tmp/git-ssh.sh on example.com
-DEBUG [649ae05d] Command: /usr/bin/env chmod +x /tmp/git-ssh.sh
- INFO [649ae05d] Finished in 0.048 seconds command successful.
- INFO [6a86a816] Running /usr/bin/env git ls-remote git@github.com:capistrano/rails3-bootstrap-devise-cancan.git on example.com
-DEBUG [6a86a816] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/git-ssh.sh /usr/bin/env git ls-remote git@github.com:capistrano/rails3-bootstrap-devise-cancan.git )
-DEBUG [6a86a816]     3419812c9f146d9a84b44bcc2c3caef94da54758	HEAD
-DEBUG [6a86a816]     3419812c9f146d9a84b44bcc2c3caef94da54758	refs/heads/master
- INFO [6a86a816] Finished in 2.526 seconds command successful.
- INFO [26c22cce] Running /usr/bin/env mkdir -pv /var/www/my-application/shared /var/www/my-application/releases on example.com
-DEBUG [26c22cce] Command: /usr/bin/env mkdir -pv /var/www/my-application/shared /var/www/my-application/releases
- INFO [26c22cce] Finished in 0.439 seconds command successful.
-DEBUG [682cbb14] Running /usr/bin/env [ -f /var/www/my-application/repo/HEAD ] on example.com
-DEBUG [682cbb14] Command: [ -f /var/www/my-application/repo/HEAD ]
-DEBUG [682cbb14] Finished in 0.448 seconds command failed.
-DEBUG [902d6fe6] Running /usr/bin/env if test ! -d /var/www/my-application; then echo "Directory does not exist '/var/www/my-application'" 1>&2; false; fi on example.com
-DEBUG [902d6fe6] Command: if test ! -d /var/www/my-application; then echo "Directory does not exist '/var/www/my-application'" 1>&2; false; fi
-DEBUG [902d6fe6] Finished in 0.047 seconds command successful.
- INFO [70365162] Running /usr/bin/env git clone --mirror git@github.com:capistrano/rails3-bootstrap-devise-cancan.git /var/www/my-application/repo on example.com
-DEBUG [70365162] Command: cd /var/www/my-application && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/git-ssh.sh /usr/bin/env git clone --mirror git@github.com:capistrano/rails3-bootstrap-devise-cancan.git /var/www/my-application/repo )
-DEBUG [70365162]     Cloning into bare repository '/var/www/my-application/repo'...
-DEBUG [70365162]     remote: Counting objects: 598, done.
- INFO [70365162] Finished in 3.053 seconds command successful.
-DEBUG [4d3ef555] Running /usr/bin/env if test ! -d /var/www/my-application/repo; then echo "Directory does not exist '/var/www/my-application/repo'" 1>&2; false; fi on example.com
-DEBUG [4d3ef555] Command: if test ! -d /var/www/my-application/repo; then echo "Directory does not exist '/var/www/my-application/repo'" 1>&2; false; fi
-DEBUG [4d3ef555] Finished in 0.445 seconds command successful.
- INFO [90a42e63] Running /usr/bin/env git remote update on example.com
-DEBUG [90a42e63] Command: cd /var/www/my-application/repo && /usr/bin/env git remote update
-DEBUG [90a42e63] 	Fetching origin
- INFO [90a42e63] Finished in 2.078 seconds command successful.
-DEBUG [39a7244f] Running /usr/bin/env if test ! -d /var/www/my-application/repo; then echo "Directory does not exist '/var/www/my-application/repo'" 1>&2; false; fi on example.com
-DEBUG [39a7244f] Command: if test ! -d /var/www/my-application/repo; then echo "Directory does not exist '/var/www/my-application/repo'" 1>&2; false; fi
-DEBUG [39a7244f] Finished in 0.455 seconds command successful.
- INFO [8665f0f1] Running /usr/bin/env git clone --branch master --depth 1 --recursive --no-hardlinks /var/www/my-application/repo /var/www/my-application/releases/20130625064744 on example.com
-DEBUG [8665f0f1] Command: cd /var/www/my-application/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/git-ssh.sh /usr/bin/env git clone --branch master --depth 1 --recursive --no-hardlinks /var/www/my-application/repo /var/www/my-application/releases/20130625064744 )
-DEBUG [8665f0f1]     warning: --depth is ignored in local clones; use file:// instead.
-DEBUG [8665f0f1]     Cloning into '/var/www/my-application/releases/20130625064744'...
-DEBUG [8665f0f1]     done.
- INFO [8665f0f1] Finished in 0.141 seconds command successful.
- INFO [bfd2d6bd] Running /usr/bin/env rm -rf /var/www/my-application/current on example.com
-DEBUG [bfd2d6bd] Command: /usr/bin/env rm -rf /var/www/my-application/current
- INFO [bfd2d6bd] Finished in 0.474 seconds command successful.
- INFO [54ea9e57] Running /usr/bin/env ln -s /var/www/my-application/releases/20130625064744 /var/www/my-application/current on example.com
-DEBUG [54ea9e57] Command: /usr/bin/env ln -s /var/www/my-application/releases/20130625064744 /var/www/my-application/current
- INFO [54ea9e57] Finished in 0.054 seconds command successful.
-DEBUG [b5af33fb] Running /usr/bin/env ls -xt /var/www/my-application/releases on example.com
-DEBUG [b5af33fb] Command: /usr/bin/env ls -xt /var/www/my-application/releases
-DEBUG [b5af33fb]     20130625064744
-DEBUG [b5af33fb] Finished in 0.445 seconds command successful.
-DEBUG [10b6e05d] Running /usr/bin/env if test ! -d /var/www/my-application/releases; then echo "Directory does not exist '/var/www/my-application/releases'" 1>&2; false; fi on example.com
-DEBUG [10b6e05d] Command: if test ! -d /var/www/my-application/releases; then echo "Directory does not exist '/var/www/my-application/releases'" 1>&2; false; fi
-DEBUG [10b6e05d] Finished in 0.452 seconds command successful.
- INFO [dd6ef5b4] Running /usr/bin/env echo "Branch master deployed as release 20130625064744 by leehambley; " >> /var/www/my-application/revisions.log on example.com
-DEBUG [dd6ef5b4] Command: echo "Branch master deployed as release 20130625064744 by leehambley; " >> /var/www/my-application/revisions.log
- INFO [dd6ef5b4] Finished in 0.046 seconds command successful.
-
-
#### What else is in the box? diff --git a/images/airbrussh-screenshot.png b/images/airbrussh-screenshot.png new file mode 100644 index 00000000..f2fd7d09 Binary files /dev/null and b/images/airbrussh-screenshot.png differ