%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/bbw/farmaci/kritik-portale/capistrano/config/
Upload File :
Create Path :
Current File : /var/www/html/bbw/farmaci/kritik-portale/capistrano/config/deploy.rb

set :stages, %w(production staging)
set :default_stage, "staging"
require 'capistrano/ext/multistage'

# Common settings
set :project_root,  ".."
set :application,   "Apotheken-Kritik"
set(:domain)        {"apotheken-kritik.de"}
set(:deploy_to)     {"/usr/local/www/apache24/noexec/kritik/#{domain}"}
set :deploy_subdir, "www/kritik-portale"
set :deploy_via,    :remote_cache
set :copy_exclude,  ['.git', 'capistrano', 'nbproject']
set :ssh_options,   {:forward_agent => true}

# Server settings
set(:user)          {"admin"}
set(:keep_releases) {5}
set(:use_sudo)      {false}
set(:php_cli)       {"php"}

# Repository settings
set :repository,    "git@bitbucket.org:conlabz/apotheken-kritik.git"
set :scm,           :git
set :branch,        fetch(:branch, "development")
set :git_enable_submodules, true
set :git_submodules_recursive, true

# Database
set(:db_user)   {"apotheken_kritik"}
set(:db_name)   {"apotheken_kritik"}
set(:db_host)   {"localhost"}

# Symlinks
set :app_symlinks,      ["/data", "/public/c", "/public/media", "/public/sitemap"]
set :app_shared_dirs,   ["/data", "/config/autoload", "/public", "/public/media", "/public/media/fileupload", "/public/sitemap"]
set :app_shared_files,  ["/config/autoload/local.php", "/connect-views-db.php", "/public/.htaccess", "/public/google7528af3f683c74f2.html"]

# Hooks
after "deploy:update_code", "composer:deploy"
after "deploy:update_code", "classmaps:generate"
after "deploy:update_code", "assets:warmup_cache"
after "deploy:update_code", "chmod:cron"
after "deploy:create_symlink", "opcache:clear_cache"
after "deploy:create_symlink", "deploy:cleanup"


Zerion Mini Shell 1.0