<commit_before>set :application, "sanctionwatch"
set :domain, "sanctionwatch.net"
set :repository, "http://svn.jsboulanger.com/sanction-watch/trunk/"
set :user, "root"
#set :repository,  "set your repository location here"

set :use_sudo, false
set :deploy_to, "/var/www/#{application}"

set :scm_username, "capistrano"
set :scm_password, ""

role :app, domain
role :web, domain
role :db,  domain, :primary => true

namespace :deploy do
  desc "Restart Application"
  task :restart, :roles => :app do
    run "touch #{current_path}/tmp/restart.txt"
  end
end

task :update_config, :roles => [:app] do
  run "cp -Rf #{shared_path}/config/* #{release_path}/config/"
  run "ln -s #{shared_path}/data #{release_path}/data"
end<commit_msg>Deploy from public github repo<commit_after>set :application, "sanctionwatch"
set :domain, "sanctionwatch.net"
set :repository, "<EMAIL>@github.com:jsboulanger/sanction-watch.git"
set :user, "root"
set :scm, :git

set :use_sudo, false
set :deploy_to, "/var/www/#{application}"
set :deploy_via, :remote_cache

role :app, domain
role :web, domain
role :db,  domain, :primary => true

namespace :deploy do
  desc "Restart Application"
  task :restart, :roles => :app do
    run "touch #{current_path}/tmp/restart.txt"
  end
end

task :update_config, :roles => [:app] do
  run "cp -Rf #{shared_path}/config/* #{release_path}/config/"
  run "ln -s #{shared_path}/data #{release_path}/data"
end
{'fraction_non_alphanumeric': 0.15471167369901548, 'fraction_numerical': 0.0, 'mean_word_length': 5.133620689655173, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '866788', 'n_tokens_mistral': 515, 'n_tokens_neox': 507, 'n_words': 143}