<commit_before>set :application, "optemo_site"
set :repository,  "git@jaguar:site.git"
set :domain, "jaguar"

# If you aren't deploying to /u/apps/#{application} on the target
# servers (which is the default), you can specify the actual location
# via the :deploy_to variable:
# set :deploy_to, "/var/www/#{application}"

set :scm, :git
set :deploy_via, :remote_cache
set :user, 'jan'
#ssh_options[:paranoid] = false
default_run_options[:pty] = true
set :use_sudo, false


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

############################################################
#	Passenger
#############################################################

namespace :passenger do
  desc "Restart Application"
  task :restart do
    run "touch #{current_path}/tmp/restart.txt"
  end
end

desc "Compile C-Code"
task :compilec do
  run "make #{current_path}/lib/c_code/clusteringCode/codes/connect"
end

after :deploy, "compilec"
after :compilec, "passenger:restart"<commit_msg>Choose the right database on the server<commit_after>set :application, "optemo_site"
set :repository,  "git@jaguar:site.git"
set :domain, "jaguar"

# If you aren't deploying to /u/apps/#{application} on the target
# servers (which is the default), you can specify the actual location
# via the :deploy_to variable:
# set :deploy_to, "/var/www/#{application}"

set :scm, :git
set :deploy_via, :remote_cache
set :user, 'jan'
#ssh_options[:paranoid] = false
default_run_options[:pty] = true
set :use_sudo, false


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

############################################################
#	Passenger
#############################################################

namespace :passenger do
  desc "Restart Application"
  task :restart do
    run "touch #{current_path}/tmp/restart.txt"
  end
end

desc "Compile C-Code"
task :compilec do
  run "make #{current_path}/lib/c_code/clusteringCode/codes/connect"
end

after :deploy, "compilec"
after :compilec, "passenger:restart"

namespace :deploy do
  task :after, :roles => :app do
    # config on server
    run "cd #{release_path}/config              && cp -f database.yml.deploy database.yml"
  end
end
{'fraction_non_alphanumeric': 0.21930222020842774, 'fraction_numerical': 0.0, 'mean_word_length': 5.437317784256559, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '5956046', 'n_tokens_mistral': 725, 'n_tokens_neox': 691, 'n_words': 213}