-
Notifications
You must be signed in to change notification settings - Fork 81
How it works
bruno- edited this page Oct 3, 2014
·
1 revision
This page contains a list of plugin tasks and their brief description. If you want to learn more about what happens "under the hood" this is the place to start.
This is not a "required read" though, as the Usage pages should get you covered.
Tasks that execute when you run bundle exec cap production setup
.
Nginx
-
nginx:setup
Generates and uploads nginx config file toweb
node. Symlinks config file to/etc/nginx/sites-enabled
. -
nginx:setup_ssl
Performs SSL related tasks ifnginx_use_ssl
is true (false by default).
Unicorn
-
unicorn:setup_initializer
Uploads unicorn initializer file. -
unicorn:setup_app_config
Generates unicorn application config file
Tasks that execute when you run $ bundle exec cap production deploy
:
-
after :publishing, "nginx:reload"
Reloads nginx. -
after :publishing, "unicorn:restart"
Restarts unicorn after new release.