Capistrano Olympus RubyGem version

Capistrano Olympus is a Ruby gem which provides a complete solution for deploying WordPress website easily.
An awesome gem build with ♥ for WordPress developers.

Capistrano 3


Features

  • Remote server automation tool with Capistrano
  • Best gem dependencies with capistrano-file-permissions and colorize
  • Database update and wp-cli integration
  • Tasks ready for pagespeed, web servers and varnish

Requirements


Installation

You can easily install the Capistrano Olympus gem simply:

# In your Gemfile
gem 'capistrano',  '~> 3.4'
gem 'capistrano-olympus', '~> 0.0.8'
# In your Capfile
require 'capistrano/olympus'

Settings

All default settings are defined in the lib/capistrano/vars/defaults.rb file. Please, refer to it to see exactly how the defaults are set up.
If you want to override any setting, just set it on your app/deploy/config.rb file.

# [optional] Setup files and dirs to symlink, setup web user to chown
set :files, fetch(:files, ['app/config/env.php', 'app/config/salt.php', 'web/.htaccess', 'web/robots.txt'])
set :dirs, fetch(:dirs, ['web/statics/languages', 'web/statics/plugins', 'web/statics/uploads'])
set :stage_user, fetch(:stage_user, 'www-data')

# Setup Capistrano
set :log_level, fetch(:log_level, :debug)
set :keep_releases, fetch(:keep_releases, 3)

# Setup Project
set :application, fetch(:application, 'olympus-capified')
set :localurl, fetch(:localurl, 'http://www.domain.tld')

Deployment process

Depending on your stage files, you can deploy simply thanks to the following command line:

bundle exec cap production deploy

Documentation

To learn more about the Olympus WordPress framework, read the docs.
The Olympus WordPress framework uses ReadMe.io which was built entirely on Open Source projects.


All we need is looooooooooooove :)

Salt Bountysource page Bountysource page
Guys, do not hesitate to spread your love about the Olympus WordPress framework and all its packages ;)


Achraf Chouk

Please, read LICENSE for more details.
MIT


Built with ♥ by Achraf Chouk ~ (c) since 2015.