<commit_before># config valid only for Capistrano 3.1
lock '3.1.0'

set :rvm_ruby_string, :local
set :rvm_autolibs_flag, 'read-only'

set :application, 'openeffects.org'
set :repo_url, 'file://home/ec2-user/git-repos/ofx-staging.git'

## default is /var/www/#{:application}
# set :deploy_to, '/var/www/openeffects.org'

set :user, 'ec2-user'

role :web, 'ofx-amazon'
role :app, 'ofx-amazon'
role :db,  'ofx-amazon'

set :ssh_options, { keys: '~/.ssh/ofx-amazon.pem', forward_agent: true}

# Default value for :linked_files is []
set :linked_files, %w{config/database.yml config/ofx_config.yml}

# Default value for linked_dirs is []
set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system public/documentation}

namespace :deploy do

  desc 'Restart application'
  task :restart do
    on roles(:app), in: :sequence, wait: 5 do
      # Your restart mechanism here, for example:
      # execute :touch, release_path.join('tmp/restart.txt')
    end
  end
<commit_msg>More config<commit_after># config valid only for Capistrano 3.1
lock '3.1.0'

set :rvm_ruby_string, :local
set :rvm_autolibs_flag, 'read-only'

set :application, 'openeffects.org'
set :repo_url, 'file://home/ec2-user/git-repos/ofx-staging.git'

## default is /var/www/#{:application}
set :deploy_to, '/var/www/openeffects.org'

set :user, 'ec2-user'

role :web, 'ofx-amazon'
role :app, 'ofx-amazon'
role :db,  'ofx-amazon'

set :ssh_options, { keys: '~/.ssh/ofx-amazon.pem', forward_agent: true}

# Default value for :linked_files is []
set :linked_files, %w{config/database.yml config/ofx_config.yml}

# Default value for linked_dirs is []
set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system public/documentation}

namespace :deploy do

  desc 'Restart application'
  task :restart do
    on roles(:app), in: :sequence, wait: 5 do
      # Your restart mechanism here, for example:
      # execute :touch, release_path.join('tmp/restart.txt')
    end
  end

{'fraction_non_alphanumeric': 0.14120603015075378, 'fraction_numerical': 0.008040201005025126, 'mean_word_length': 4.366576819407008, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, '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': '7101621', 'n_tokens_mistral': 765, 'n_tokens_neox': 732, 'n_words': 193}