<commit_before>require "bundler/capistrano"

set :application, "alertzy"
set :domain, "www.alertzy.com"
set :repository,  "<EMAIL>:RyanonRails/BrassSheepdog.git"

set :scm, :git
default_run_options[:pty] = true 
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`

set :deploy_to, "/opt/apps/#{application}"
set :user, :deploy

role :web, "192.168.127.12:9223"                          # Your HTTP server, Apache/etc
role :app, "192.168.127.12:9223"                          # This may be the same as your `Web` server
role :db,  "192.168.127.12:9223", :primary => true # This is where Rails migrations will run

# if you're still using the script/reaper helper you will need
# these http://github.com/rails/irs_process_scripts

#If you are using Passenger mod_rails uncomment this:
namespace :deploy do
  task :start do ; end
  task :stop do ; end
  task :restart, :roles => :app, :except => { :no_release => true } do
    run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
  end
end

after "deploy:symlink"

namespace :deploy do
  desc "Update the crontab file"
  task :update_crontab, :roles => :db do
    run "cd #{release_path} && bundle exec whenever --update-crontab #{application}"
  end
end

<commit_msg>update deploy<commit_after>require "bundler/capistrano"

set :application, "alertzy"
set :domain, "www.alertzy.com"
set :repository,  "<EMAIL>:RyanonRails/BrassSheepdog.git"

set :scm, :git
default_run_options[:pty] = true 
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`

set :deploy_to, "/opt/apps/#{application}"
set :user, :deploy

role :web, "192.168.127.12:9223"                          # Your HTTP server, Apache/etc
role :app, "192.168.127.12:9223"                          # This may be the same as your `Web` server
role :db,  "192.168.127.12:9223", :primary => true # This is where Rails migrations will run

# if you're still using the script/reaper helper you will need
# these http://github.com/rails/irs_process_scripts

#If you are using Passenger mod_rails uncomment this:
namespace :deploy do
  task :start do ; end
  task :stop do ; end
  task :restart, :roles => :app, :except => { :no_release => true } do
    run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
  end
end

after "deploy:symlink", "deploy:update_crontab"

namespace :deploy do
  desc "Update the crontab file"
  task :update_crontab, :roles => :db do
    run "cd #{release_path} && bundle exec whenever --update-crontab #{application}"
  end
end


{'fraction_non_alphanumeric': 0.14280170741171905, 'fraction_numerical': 0.034924330616996506, 'mean_word_length': 3.854990583804143, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 6, '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': '1598355', 'n_tokens_mistral': 966, 'n_tokens_neox': 895, 'n_words': 270}