Capistrano

手順

$ mkdir -p capistrano/test
$ cd capistrano/test
$ cap install
cap install
mkdir -p config/deploy
create config/deploy.rb
create config/deploy/staging.rb
create config/deploy/production.rb
mkdir -p lib/capistrano/tasks
create Capfile
Capified

 _    _                              _
| |  | |                            (_)
| |__| | __ _ _ __ _ __ _____      ___  ___
|  __  |/ _` | '__| '__/ _ \ \ /\ / / |/ _ \
| |  | | (_| | |  | | | (_) \ V  V /| | (_) |
|_|  |_|\__,_|_|  |_|  \___/ \_/\_(_)_|\___/

     Continuous Integration & Deployment
     Built by the team behind Capistrano

  Learn more at http://hrw.io/cap-for-teams


- Free for small projects!

- Test, deploy and collaborate online easily
  using tools you already know and love!

- Trigger tasks automatically based on Git changes
  and webhooks. Get notified by email, slack, etc.

- Works seamlessly for PHP, Node.js, Ansible, Python, Go,
  Capistrano and more!

Try it now?  (Yes/no): no
Aborting...
~/Github/capistrano/test  ls -la
total 8
drwxr-xr-x  5 kazuma  staff  170  5  3 23:23 .
drwxr-xr-x  3 kazuma  staff  102  5  3 23:19 ..
-rw-r--r--  1 kazuma  staff  837  5  3 23:23 Capfile
drwxr-xr-x  4 kazuma  staff  136  5  3 23:23 config
drwxr-xr-x  3 kazuma  staff  102  5  3 23:23 lib

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-06-30 (木) 01:40:11