<commit_before>require "bundler/capistrano"
require 'capistrano/ext/multistage'
set :stages, %w(integration, deployment)

working_dir = "sli/databrowser"

set :application, "Identity Management Admin Tool"
set :repository,  "<EMAIL>:sli/sli.git"
set :bundle_gemfile, "#{working_dir}/Gemfile"
set :keep_releases, 2

set :user, "rails"
set :use_sudo, false
set :deploy_via, :remote_cache
set :deploy_to, "~/prowler"

set :scm, :git





# Generate an additional task to fire up the thin clusters
namespace :deploy do
  desc "Start the Thin processes"
  task :start do
    run  <<-CMD
      cd #{deploy_to}/current/#{working_dir}; bundle exec thin start -C config/thin.yml -e #{rails_env}
    CMD
  end<commit_msg>Working on the deploy script for databrowser.<commit_after>require "bundler/capistrano"
require 'capistrano/ext/multistage'
set :stages, %w(integration, deployment)

working_dir = "sli/databrowser"

set :application, "Identity Management Admin Tool"
set :repository,  "<EMAIL>:sli/sli.git"
set :bundle_gemfile, "#{working_dir}/Gemfile"
set :keep_releases, 2

set :user, "rails"
set :use_sudo, false
set :deploy_via, :remote_cache
set :deploy_to, "~/prowler"

set :scm, :git





# Generate an additional task to fire up the thin clusters
namespace :deploy do
  desc "Start the Thin processes"
  task :start do
    run  <<-CMD
      cd #{deploy_to}/current/sli
      sh profile_swap.sh #{configuration[:subdomain]} if configuration[:subdomain]
      cd #{deploy_to}/current/#{working_dir}
      bundle exec thin start -C config/thin.yml -e #{rails_env}
    CMD
  end
{'fraction_non_alphanumeric': 0.11738578680203046, 'fraction_numerical': 0.0012690355329949238, 'mean_word_length': 4.632142857142857, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2341764', 'n_tokens_mistral': 569, 'n_tokens_neox': 528, 'n_words': 162}