<commit_before># Deployment server info
set :application, "SymfonyCapifony"
set :domain,      "192.168.50.4"
set :deploy_to,   "/home/vagrant/symfony"
set :app_path,    "app"
set :web_path, 	  "web"
set :maintenance_basename, 	"maintenance"

# User details for the production server
default_run_options[:pty] = true
set :user, "vagrant"
set :use_sudo, false
ssh_options[:forward_agent] = true
set :ssh_options, {:forward_agent => true, keys: ['~/.vagrant.d/insecure_private_key']}
 
# SCM info
set :repository,  "https://github.com/black1987/Symfony2CDeployement"
set :deploy_via,  :remote_cache
set :scm,         :git
 
set :model_manager, "doctrine"
 
# Role info. I don't think this is particularly important for Capifony...
role :web,        domain                         # Your HTTP server, Apache/etc
role :app,        domain                      # This may be the same as your `Web` server
role :db,         domain, :primary => true       # This is where Symfony2 migrations will run
 
set :shared_files,      ["app/config/parameters.yml"] # This stops us from having to recreate the parameters file on every deploy.
set :shared_children,   [app_path + "/logs", web_path + "/uploads", "vendor"]
set :writable_dirs, [app_path + "/cache", app_path + "/logs"]


set :use_composer, true
set	:update_vendors, true

set :clear_controllers, false

# General config stuff
set :keep_releases,  10
set :permission_method, :acl<commit_msg>Modified deploy.rb so jenkins can access vagrant keys<commit_after># Deployment server info
set :application, "SymfonyCapifony"
set :domain,      "192.168.50.4"
set :deploy_to,   "/home/vagrant/symfony"
set :app_path,    "app"
set :web_path, 	  "web"
set :maintenance_basename, 	"maintenance"

# User details for the production server
default_run_options[:pty] = true
set :user, "vagrant"
set :use_sudo, false
ssh_options[:forward_agent] = true
set :ssh_options, {:forward_agent => true, keys: ['/Users/ahdidou/.vagrant.d/insecure_private_key']}
 
# SCM info
set :repository,  "https://github.com/black1987/Symfony2CDeployement"
set :deploy_via,  :remote_cache
set :scm,         :git
 
set :model_manager, "doctrine"
 
# Role info. I don't think this is particularly important for Capifony...
role :web,        domain                         # Your HTTP server, Apache/etc
role :app,        domain                      # This may be the same as your `Web` server
role :db,         domain, :primary => true       # This is where Symfony2 migrations will run
 
set :shared_files,      ["app/config/parameters.yml"] # This stops us from having to recreate the parameters file on every deploy.
set :shared_children,   [app_path + "/logs", web_path + "/uploads", "vendor"]
set :writable_dirs, [app_path + "/cache", app_path + "/logs"]


set :use_composer, true
set	:update_vendors, true

set :clear_controllers, false

# General config stuff
set :keep_releases,  10
set :permission_method, :acl
{'fraction_non_alphanumeric': 0.11213675213675214, 'fraction_numerical': 0.011623931623931624, 'mean_word_length': 3.6666666666666665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '310914', 'n_tokens_mistral': 990, 'n_tokens_neox': 935, 'n_words': 300}