<commit_before>require "bundler/capistrano"

set :whenever_command, "bundle exec whenever"
require "whenever/capistrano"

set :application, "bemscape"
set :user, "railsdeploy"
set :scm, :subversion
set :scm_username, "railsdeploy"
set :scm_password, proc { Capistrano::CLI.password_prompt("Webdev-Mirror SVN Password: ") }
set :repository,  "https://cbr.nrel.gov/webdev-mirror/svn/bemscape.nrel.gov/trunk"
set :deploy_to, "/var/www/rails/bemscape"
set :use_sudo, true
set :app_server, :passenger

default_run_options[:pty] = true  #needed because of the no tty for sudo

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

# 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
  
  task :finalize_update, :except => { :no_release => true } do
    run "#{try_sudo} chgrp apache #{latest_release}/public/tmpdata/"
    run "#{try_sudo} chmod g+w #{latest_release}/public/tmpdata/"
    run "#{try_sudo} mkdir #{latest_release}/public/images/R/"
    run "#{try_sudo} chgrp apache #{latest_release}/public/images/R/"
    run "#{try_sudo} chmod g+w #{latest_release}/public/images/R/"
  end
  
  
  

end

namespace :rake do
  task :download_data do

  end
end

<commit_msg>trying to deploy<commit_after>require "bundler/capistrano"

set :whenever_command, "bundle exec whenever"
require "whenever/capistrano"

set :application, "bemscape"
set :user, "railsdeploy"
set :scm, :subversion
set :scm_username, "railsdeploy"
set :scm_password, proc { Capistrano::CLI.password_prompt("Webdev-Mirror SVN Password: ") }
set :repository,  "https://cbr.nrel.gov/webdev-mirror/svn/bemscape.nrel.gov/trunk"
set :deploy_to, "/var/www/rails/bemscape"
set :use_sudo, true
set :app_server, :passenger

default_run_options[:pty] = true  #needed because of the no tty for sudo

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

# 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
  
  task :finalize_update, :except => { :no_release => true } do
    run "#{try_sudo} chgrp apache #{latest_release}/public/tmpdata/"
    run "#{try_sudo} chmod g+w #{latest_release}/public/tmpdata/"
    run "#{try_sudo} mkdir #{latest_release}/public/images/R/"
    run "#{try_sudo} chgrp apache #{latest_release}/public/images/R/"
    run "#{try_sudo} chmod g+w #{latest_release}/public/images/R/"
  end
  
end

#namespace :rake do
#end


{'fraction_non_alphanumeric': 0.1377262443438914, 'fraction_numerical': 0.02262443438914027, 'mean_word_length': 3.7097203728362182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 10, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4577607', 'n_tokens_mistral': 1329, 'n_tokens_neox': 1244, 'n_words': 342}