<commit_before>namespace :apache do
   
  desc "Setup passenger vhost"
  task :passenger_vhost do
    logger.info "generating .conf file"
    logger.info "placing #{application}.conf on remote server"
    apache_conf = "/etc/apache2/sites-available/#{application}"
    put render("passenger_vhost", binding), "#{application}.conf"
    sudo "mv #{application}.conf #{apache_conf}"
    sudo "a2ensite #{application}"
    sudo "/etc/init.d/apache2 reload"
  end
  
  
  desc "PHP Vhost Setup"
   task :php_vhost do

     unless apache_port
       set :apache_port, '80'
     end

     logger.info "generating .conf file"
     logger.info "placing #{application}.conf on remote server"
     apache_conf = "/etc/apache2/sites-available/#{application}"
     put render("php_vhost", binding), "#{application}.conf"
     sudo "mv #{application}.conf #{apache_conf}"
     sudo "a2ensite #{application}"
     sudo "/etc/init.d/apache2 reload"
   end
  
  
  
end<commit_msg>updating<commit_after>namespace :apache do
   
  desc "Setup passenger vhost"
  task :passenger_vhost do
    logger.info "generating .conf file"
    logger.info "placing #{application}.conf on remote server"
    apache_conf = "/etc/apache2/sites-available/#{application}"
    put render("passenger_vhost", binding), "#{application}.conf"
    sudo "mv #{application}.conf #{apache_conf}"
    sudo "a2ensite #{application}"
    sudo "/etc/init.d/apache2 reload"
  end
  
  
  desc "PHP Vhost Setup"
   task :php_vhost do

     unless defined? apache_port
       set :apache_port, '80'
     end

     logger.info "generating .conf file"
     logger.info "placing #{application}.conf on remote server"
     apache_conf = "/etc/apache2/sites-available/#{application}"
     put render("php_vhost", binding), "#{application}.conf"
     sudo "mv #{application}.conf #{apache_conf}"
     sudo "a2ensite #{application}"
     sudo "/etc/init.d/apache2 reload"
   end
  
  
  
end
{'fraction_non_alphanumeric': 0.12681159420289856, 'fraction_numerical': 0.008281573498964804, 'mean_word_length': 3.2955555555555556, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2049505', 'n_tokens_mistral': 632, 'n_tokens_neox': 595, 'n_words': 156}