<commit_before># config/deploy.rb
require "rvm/capistrano"
require "capistrano-unicorn"

set :application, "rcdb"
set :repository,  "<EMAIL>:justinj/reconstruction-database.git"
set :rvm_type, :system

set :scm, :git

role :web, "rcdb"
role :app, "rcdb"

set :default_environment, {
  'RACK_ENV' => "production"
}

task :prod do
  set :deploy_to, "/home/rcdb"
end

set :unicorn_pid, "/home/unicorn/pids/unicorn.pid"
after 'deploy:restart', 'unicorn:restart'

namespace :deploy do
  task :start do ; end
  task :stop do ; end
  task :restart, :roles => :app, :except => { :no_release => true } do
    run "cd /home/rcdb/current && bundle install"
    run "cp /home/rcdb/.env /home/rcdb/current"
    run "cd /home/rcdb/current && rake migrate"
  end<commit_msg>try setting env another way<commit_after># config/deploy.rb
require "rvm/capistrano"
require "capistrano-unicorn"

set :application, "rcdb"
set :repository,  "<EMAIL>:justinj/reconstruction-database.git"
set :rvm_type, :system

set :scm, :git

role :web, "rcdb"
role :app, "rcdb"

set :rack_env, "production"

task :prod do
  set :deploy_to, "/home/rcdb"
end

set :unicorn_pid, "/home/unicorn/pids/unicorn.pid"
after 'deploy:restart', 'unicorn:restart'

namespace :deploy do
  task :start do ; end
  task :stop do ; end
  task :restart, :roles => :app, :except => { :no_release => true } do
    run "cd /home/rcdb/current && bundle install"
    run "cp /home/rcdb/.env /home/rcdb/current"
    run "cd /home/rcdb/current && rake migrate"
  end
{'fraction_non_alphanumeric': 0.15056628914057296, 'fraction_numerical': 0.0, 'mean_word_length': 4.197231833910035, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '458312', 'n_tokens_mistral': 584, 'n_tokens_neox': 588, 'n_words': 152}