mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Update syntax highlighting in README
This commit is contained in:
parent
8f436569fb
commit
ade8b4f762
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -14,13 +14,13 @@ gem 'capistrano', '~> 3.0.0'
|
|||
|
||||
And then execute:
|
||||
|
||||
``` ruby
|
||||
``` sh
|
||||
$ bundle --binstubs
|
||||
```
|
||||
|
||||
Capify:
|
||||
*make sure there's no "Capfile" or "capfile" present*
|
||||
``` shell
|
||||
``` sh
|
||||
$ cap install
|
||||
```
|
||||
|
||||
|
@ -40,13 +40,13 @@ This creates the following files:
|
|||
|
||||
To create different stages:
|
||||
|
||||
``` shell
|
||||
``` sh
|
||||
$ cap install STAGES=local,sandbox,qa,production
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
``` shell
|
||||
``` sh
|
||||
$ cap -vT
|
||||
|
||||
$ cap staging deploy
|
||||
|
@ -161,13 +161,13 @@ Execute arbitrary remote commands, to use this simply add
|
|||
`require 'capistrano/console'` which will add the necessary tasks to your
|
||||
environment:
|
||||
|
||||
``` shell
|
||||
``` sh
|
||||
$ cap staging console
|
||||
```
|
||||
|
||||
Then, after setting up the server connections, this is how that might look:
|
||||
|
||||
```
|
||||
``` sh
|
||||
$ cap production console
|
||||
capistrano console - enter command to execute on production
|
||||
production> uptime
|
||||
|
|
Loading…
Reference in a new issue