<commit_before>require 'new_relic/recipes'
require "rvm/capistrano"
require 'bundler/capistrano'

set :application, "cuttlefish"
set :repository,  "https://github.com/mlandauer/cuttlefish.git"
set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"")

server "kedumba.openaustraliafoundation.org.au", :app, :web, :db, primary: true

set :use_sudo, false
#set :deploy_via, :remote_cache

set :user, "deploy"
set :deploy_to, "/srv/www/cuttlefish.openaustraliafoundation.org.au"

# if you want to clean up old releases on each deploy uncomment this:
# after "deploy:restart", "deploy:cleanup"

before 'deploy:setup', 'rvm:install_ruby'  # install Ruby and create gemset, or:
before "deploy:restart", "foreman:restart"<commit_msg>Reinstate remote_cache for deploys because it now works and is faster<commit_after>require 'new_relic/recipes'
require "rvm/capistrano"
require 'bundler/capistrano'

set :application, "cuttlefish"
set :repository,  "https://github.com/mlandauer/cuttlefish.git"
set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"")

server "kedumba.openaustraliafoundation.org.au", :app, :web, :db, primary: true

set :use_sudo, false
set :deploy_via, :remote_cache

set :user, "deploy"
set :deploy_to, "/srv/www/cuttlefish.openaustraliafoundation.org.au"

# if you want to clean up old releases on each deploy uncomment this:
# after "deploy:restart", "deploy:cleanup"

before 'deploy:setup', 'rvm:install_ruby'  # install Ruby and create gemset, or:
before "deploy:restart", "foreman:restart"
{'fraction_non_alphanumeric': 0.13942628418945963, 'fraction_numerical': 0.0, 'mean_word_length': 6.389162561576355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4285458', 'n_tokens_mistral': 564, 'n_tokens_neox': 540, 'n_words': 133}